ITS#7160 get BYTE_ORDER def for HPUX (and Solaris)

This commit is contained in:
Howard Chu 2012-02-21 11:52:01 -08:00
parent 953796759e
commit b23bb7a0b1

View file

@ -57,6 +57,10 @@
#include <time.h> #include <time.h>
#include <unistd.h> #include <unistd.h>
#if !(defined(BYTE_ORDER) || defined(__BYTE_ORDER))
#include <resolv.h> /* defines BYTE_ORDER on HPUX and Solaris */
#endif
#ifndef _WIN32 #ifndef _WIN32
#include <pthread.h> #include <pthread.h>
#ifdef __APPLE__ #ifdef __APPLE__