Procházet zdrojové kódy

fix from psm: only define __ASSUME_NETLINK_SUPPORT if not defined

Mike Frysinger před 18 roky
rodič
revize
8f2da7e653
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  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