Update.
authorUlrich Drepper <drepper@redhat.com>
Mon, 4 Oct 2004 23:30:29 +0000 (23:30 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 4 Oct 2004 23:30:29 +0000 (23:30 +0000)
* nscd/gai.c: Define __no_netlink_support if NEED_NETLINK is
defined and __ASSUME_NETLINK_SUPPORT is zero.
* sysdeps/unix/sysv/linux/Makefile (CFLAGS-gai.c): Add
-DNEED_NETLINK.

ChangeLog
nscd/gai.c
sysdeps/unix/sysv/linux/Makefile

index f45ef42..b51f6ba 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2004-10-04  Ulrich Drepper  <drepper@redhat.com>
 
+       * nscd/gai.c: Define __no_netlink_support if NEED_NETLINK is
+       defined and __ASSUME_NETLINK_SUPPORT is zero.
+       * sysdeps/unix/sysv/linux/Makefile (CFLAGS-gai.c): Add
+       -DNEED_NETLINK.
+
        * malloc/mtrace.pl: Avoid calling location unless it is needed for
        output.  Patch by Edward Bishop <binutils@gmail.com>.
 
index 2279d71..722c7e4 100644 (file)
@@ -19,3 +19,7 @@
 
 /* Some variables normally defined in libc.  */
 service_user *__nss_hosts_database;
+
+#if defined NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0
+int __no_netlink_support attribute_hidden;
+#endif
index fd089dd..37be75e 100644 (file)
@@ -153,4 +153,5 @@ endif
 
 ifeq ($(subdir),nscd)
 CFLAGS-connections.c += -DHAVE_EPOLL
+CFLAGS-gai.c += -DNEED_NETLINK
 endif