]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Pull in host order macros when _XOPEN_SOURCE_EXTENDED is defined. [RT #14966]
authorMark Andrews <marka@isc.org>
Fri, 2 Sep 2005 04:04:24 +0000 (04:04 +0000)
committerMark Andrews <marka@isc.org>
Fri, 2 Sep 2005 04:04:24 +0000 (04:04 +0000)
lib/bind/port_before.h.in

index 41c01e797cadfac385f85b332cc0ad397fc6a437..c754efd2b03a6e89b73a777ff95e419c1ebee989 100644 (file)
@@ -138,4 +138,9 @@ struct timezone;        /* silence warning */
 #define ISC_FORMAT_PRINTF(fmt, args)
 #endif
 
+/* Pull in host order macros when _XOPEN_SOURCE_EXTENDED is defined. */
+#if defined(__hpux) && defined(_XOPEN_SOURCE_EXTENDED)
+#include <sys/byteorder.h>
+#endif
+
 #endif