about summary refs log tree commit diff
path: root/nscd/gai.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2018-03-02 23:07:14 +0100
committerAndreas Schwab <schwab@linux-m68k.org>2018-03-03 17:44:24 +0100
commiteaf6753f8aac33a36deb98c1031d1bad7b593d2d (patch)
tree383a694e8b1bac27466d4742207f55598bab5d27 /nscd/gai.c
parent4dc23804a220f917f400e2404bc4803cd60491c7 (diff)
downloadglibc-eaf6753f8aac33a36deb98c1031d1bad7b593d2d.tar.gz
glibc-eaf6753f8aac33a36deb98c1031d1bad7b593d2d.tar.xz
glibc-eaf6753f8aac33a36deb98c1031d1bad7b593d2d.zip
Fix multiple definitions of __nss_*_database (bug 22918)
Diffstat (limited to 'nscd/gai.c')
-rw-r--r--nscd/gai.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/nscd/gai.c b/nscd/gai.c
index d081747797..576fd0045b 100644
--- a/nscd/gai.c
+++ b/nscd/gai.c
@@ -45,3 +45,6 @@
 #ifdef HAVE_LIBIDN
 # include <libidn/idn-stub.c>
 #endif
+
+/* Some variables normally defined in libc.  */
+service_user *__nss_hosts_database attribute_hidden;