From: Mark Andrews Date: Fri, 2 Sep 2005 04:04:24 +0000 (+0000) Subject: Pull in host order macros when _XOPEN_SOURCE_EXTENDED is defined. [RT #14966] X-Git-Tag: v9.3.2b1~31 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=83457b84836a04f18c6ecfeae59e64541b072965;p=thirdparty%2Fbind9.git Pull in host order macros when _XOPEN_SOURCE_EXTENDED is defined. [RT #14966] --- diff --git a/lib/bind/port_before.h.in b/lib/bind/port_before.h.in index 41c01e797ca..c754efd2b03 100644 --- a/lib/bind/port_before.h.in +++ b/lib/bind/port_before.h.in @@ -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 +#endif + #endif