aboutsummaryrefslogtreecommitdiff
path: root/nscd
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-10-04 23:30:29 +0000
committerUlrich Drepper <drepper@redhat.com>2004-10-04 23:30:29 +0000
commite14bbf537e28b5470e5491bf0c1dc3d8849bc283 (patch)
tree897af75833e3f9a981a7909bc80b88cddfc1d389 /nscd
parente582c5eda2fea3cdb336f35a070997588b8ccf96 (diff)
downloadglibc-e14bbf537e28b5470e5491bf0c1dc3d8849bc283.zip
glibc-e14bbf537e28b5470e5491bf0c1dc3d8849bc283.tar.gz
glibc-e14bbf537e28b5470e5491bf0c1dc3d8849bc283.tar.bz2
* 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.
Diffstat (limited to 'nscd')
-rw-r--r--nscd/gai.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/nscd/gai.c b/nscd/gai.c
index 2279d71..722c7e4 100644
--- a/nscd/gai.c
+++ b/nscd/gai.c
@@ -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