]> 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:01:36 +0000 (04:01 +0000)
committerMark Andrews <marka@isc.org>
Fri, 2 Sep 2005 04:01:36 +0000 (04:01 +0000)
lib/bind/port_before.h.in

index fb0ee8ff758ff5c021bf441c5818451a5309bd24..c0de216a1a7439ec16ca340123dce2b12dc84a43 100644 (file)
@@ -138,6 +138,11 @@ 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
 
 /*! \file */