summaryrefslogtreecommitdiff
path: root/libc/inet/netlinkaccess.h
diff options
context:
space:
mode:
authorRicard Wanderlof <ricard.wanderlof@axis.com>2008-06-27 09:08:44 +0000
committerRicard Wanderlof <ricard.wanderlof@axis.com>2008-06-27 09:08:44 +0000
commit6c1d86dcdb30f52d7f64179b982b253f1ba6951c (patch)
tree3886a2a7d4adb43be8ce07188790e27b6c50c22b /libc/inet/netlinkaccess.h
parent516a518c9dfdbdc3c930626f8eeef3d0b4d71236 (diff)
Added support for the AI_ADDRCONFIG flag in the hints->ai_flags parameter to getaddrinfo(3).
Diffstat (limited to 'libc/inet/netlinkaccess.h')
-rw-r--r--libc/inet/netlinkaccess.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/inet/netlinkaccess.h b/libc/inet/netlinkaccess.h
index 2fa0d76b3..acadcb544 100644
--- a/libc/inet/netlinkaccess.h
+++ b/libc/inet/netlinkaccess.h
@@ -62,13 +62,13 @@ struct netlink_handle
};
-#if 0 /* unused code */
+#ifdef __UCLIBC_SUPPORT_AI_ADDRCONFIG__
#if __ASSUME_NETLINK_SUPPORT == 0
extern smallint __no_netlink_support attribute_hidden;
#else
# define __no_netlink_support 0
#endif
-#endif /* unused code */
+#endif /* __UCLIBC_SUPPORT_AI_ADDRCONFIG__ */
extern int __netlink_open (struct netlink_handle *h) attribute_hidden;