فهرست منبع

fix from psm: only define __ASSUME_NETLINK_SUPPORT if not defined

Mike Frysinger 18 سال پیش
والد
کامیت
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