Fix tst-rfc3484* build failures from USE_NSCD move to config.h.
authorRoland McGrath <roland@hack.frob.com>
Thu, 23 Aug 2012 23:55:40 +0000 (16:55 -0700)
committerRoland McGrath <roland@hack.frob.com>
Thu, 23 Aug 2012 23:55:40 +0000 (16:55 -0700)
ChangeLog
posix/tst-rfc3484-2.c
posix/tst-rfc3484-3.c
posix/tst-rfc3484.c

index 7bc3a24..b54c140 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-08-23  Roland McGrath  <roland@hack.frob.com>
+
+       * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
+       * posix/tst-rfc3484-2.c: Likewise.
+       * posix/tst-rfc3484-3.c: Likewise.
+
 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
 
        * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
index 298fe66..a37be36 100644 (file)
@@ -53,6 +53,7 @@ _res_hconf_init (void)
 {
 }
 
+#undef USE_NSCD
 #include "../sysdeps/posix/getaddrinfo.c"
 
 service_user *__nss_hosts_database attribute_hidden;
index 701f534..493e760 100644 (file)
@@ -53,6 +53,7 @@ _res_hconf_init (void)
 {
 }
 
+#undef USE_NSCD
 #include "../sysdeps/posix/getaddrinfo.c"
 
 service_user *__nss_hosts_database attribute_hidden;
index f77dc4c..29e1461 100644 (file)
@@ -53,6 +53,7 @@ _res_hconf_init (void)
 {
 }
 
+#undef USE_NSCD
 #include "../sysdeps/posix/getaddrinfo.c"
 
 service_user *__nss_hosts_database attribute_hidden;