From: Mark Andrews Date: Fri, 2 Sep 2005 04:01:36 +0000 (+0000) Subject: Pull in host order macros when _XOPEN_SOURCE_EXTENDED is defined. [RT #14966] X-Git-Tag: v9.4.0a1~78^2~5 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=da16a6b635d96d6b171aee03e24640ac07c49609;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 fb0ee8ff758..c0de216a1a7 100644 --- a/lib/bind/port_before.h.in +++ b/lib/bind/port_before.h.in @@ -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 +#endif + #endif /*! \file */