From 544e1130dffcf81e1a61d28f0849eb3b105f6a35 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 6 Aug 1999 22:27:07 +0000 Subject: Update. * string/string-inlines.c: Undefined __USE_STRING_INLINES before defining it. --- inet/tst-ipnode.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'inet/tst-ipnode.c') diff --git a/inet/tst-ipnode.c b/inet/tst-ipnode.c index b8b1e77c76..ad3a7e733b 100644 --- a/inet/tst-ipnode.c +++ b/inet/tst-ipnode.c @@ -1,5 +1,6 @@ #include #include +#include /* The unspecified IPv6 address. */ struct in6_addr anyv6 = IN6ADDR_ANY_INIT; @@ -12,7 +13,8 @@ main (void) /* Test the unspecifed IPv6 address. */ errval = 0x3453456; - if (getipnodebyaddr (&anyv6, sizeof (anyv6), AF_INET6, &errval) != NULL + if (getipnodebyaddr ((char *) &anyv6, sizeof (anyv6), AF_INET6, &errval) + != NULL || errval != HOST_NOT_FOUND) { puts ("getipnodenyaddr(in6addr_any,...) != NULL"); -- cgit 1.4.1