소스 검색

fix from psm: only define __ASSUME_NETLINK_SUPPORT if not defined

Mike Frysinger 19 년 전
부모
커밋
8f2da7e653
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      libc/inet/netlinkaccess.h

+ 2 - 0
libc/inet/netlinkaccess.h

@@ -33,11 +33,13 @@ typedef int32_t __s32;
 #include <linux/netlink.h>
 
 /* Should prob be a configure option or something */
+#ifndef __ASSUME_NETLINK_SUPPORT
 #ifdef __UCLIBC_USE_NETLINK__
 # define __ASSUME_NETLINK_SUPPORT 1
 #else
 # define __ASSUME_NETLINK_SUPPORT 0
 #endif
+#endif
 
 
 struct netlink_res