Pull in host order macros when _XOPEN_SOURCE_EXTENDED is defined. [RT #14966]

This commit is contained in:
Mark Andrews
2005-09-02 04:04:46 +00:00
parent cd312c0293
commit fcceeeab73
+5
View 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