* string/string-inlines.c: Undefined __USE_STRING_INLINES before
defining it.
1999-08-06 Ulrich Drepper <drepper@cygnus.com>
+ * string/string-inlines.c: Undefined __USE_STRING_INLINES before
+ defining it.
+
* inet/Makefile (tests): Add tst-ipnode.
* inet/tst-ipnode.c: New file.
#include <netdb.h>
#include <stdio.h>
+#include <netinet/in.h>
/* The unspecified IPv6 address. */
struct in6_addr anyv6 = IN6ADDR_ANY_INIT;
/* 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");
functions. These functions are declared additionally here if
inlining is not possible. */
+#undef __USE_STRING_INLINES
#define __USE_STRING_INLINES
#define _FORCE_INLINES
#define __STRING_INLINE /* empty */
#include <string.h>
-