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

This commit is contained in:
Mark Andrews
2005-09-02 04:01:36 +00:00
parent e3c0f34cba
commit da16a6b635

View 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 */