about summary refs log tree commit diff
path: root/inet/tst-checks.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2016-12-09 11:27:44 +0100
committerFlorian Weimer <fweimer@redhat.com>2016-12-09 11:27:44 +0100
commit0abbe7cd700951082b314182a0958d65238297ef (patch)
treeadcd0df49e7cb1024fbe39034a54798c36f116d7 /inet/tst-checks.c
parentc23de0aacbeaa7a091609b35764bed931475a16d (diff)
downloadglibc-0abbe7cd700951082b314182a0958d65238297ef.tar.gz
glibc-0abbe7cd700951082b314182a0958d65238297ef.tar.xz
glibc-0abbe7cd700951082b314182a0958d65238297ef.zip
inet: Make IN6_IS_ADDR_UNSPECIFIED etc. usable with POSIX [BZ #16421]
Previously, under some feature test macros and compilers, the
macros were defined, but references undefined struct members
in their implementation.
Diffstat (limited to 'inet/tst-checks.c')
-rw-r--r--inet/tst-checks.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/inet/tst-checks.c b/inet/tst-checks.c
index 5d97564cd6..1a4785d96e 100644
--- a/inet/tst-checks.c
+++ b/inet/tst-checks.c
@@ -169,5 +169,4 @@ do_test (void)
   return result;
 }
 
-#define TEST_FUNCTION do_test ()
-#include "../test-skeleton.c"
+#include <support/test-driver.c>