Browse Source

fix from psm: only define __ASSUME_NETLINK_SUPPORT if not defined

Mike Frysinger 17 years ago
parent
commit
8f2da7e653
1 changed files with 2 additions and 0 deletions
  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