Commit e5275023 authored by David Lawrence's avatar David Lawrence
Browse files

Changed the CPP symbol it uses from *_HAVENETINET6* to *_NEEDNETINET6*

to better clarify what is going on with regard to the symbol.
parent 0adde9f4
......@@ -27,9 +27,10 @@
***/
/*
* Define if this system has the <netinet6/in6.h> header file.
* Define if this system needs the <netinet6/in6.h> header file included
* to support in6_pkinfo (pretty much only BSD/OS).
*/
@ISC_PLATFORM_HAVENETINET6IN6H@
@ISC_PLATFORM_NEEDNETINET6IN6H@
/*
* If sockaddrs on this system have an sa_len field, ISC_PLATFORM_HAVESALEN
......
......@@ -73,8 +73,8 @@
#include <netinet/in.h> /* Contractual promise. */
#include <arpa/inet.h> /* Contractual promise. */
#ifdef ISC_PLATFORM_HAVENETINET6IN6H
#include <netinet6/in6.h> /* Contractual promise. */
#ifdef ISC_PLATFORM_NEEDNETINET6IN6H
#include <netinet6/in6.h> /* Required for in6_pktinfo. */
#endif
#include <isc/types.h>
......
......@@ -54,7 +54,7 @@
#include <netinet/in.h>
#include <arpa/inet.h>
#ifdef LWRES_PLATFORM_HAVENETINET6IN6H
#ifdef LWRES_PLATFORM_NEEDNETINET6IN6H
#include <netinet6/in6.h>
#endif
......@@ -72,10 +72,13 @@
#include <lwres/ipv6.h>
#endif
const char *lwres_net_ntop(int af, const void *src, char *dst, size_t size);
const char *
lwres_net_ntop(int af, const void *src, char *dst, size_t size);
int lwres_net_pton(int af, const char *src, void *dst);
int
lwres_net_pton(int af, const char *src, void *dst);
int lwres_net_aton(const char *cp, struct in_addr *addr);
int
lwres_net_aton(const char *cp, struct in_addr *addr);
#endif /* LWRES_NET_H */
......@@ -29,7 +29,7 @@
/*
* Define if this system has the <netinet6/in6.h> header file.
*/
@LWRES_PLATFORM_HAVENETINET6IN6H@
@LWRES_PLATFORM_NEEDNETINET6IN6H@
/*
* If sockaddrs on this system have an sa_len field, LWRES_PLATFORM_HAVESALEN
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment