From: Howard Chu Date: Tue, 21 Feb 2012 19:52:01 +0000 (-0800) Subject: ITS#7160 get BYTE_ORDER def for HPUX (and Solaris) X-Git-Tag: OPENLDAP_REL_ENG_2_4_30~18 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=981cf705713625989f5af01920447d81d222c8e1;p=openldap ITS#7160 get BYTE_ORDER def for HPUX (and Solaris) --- diff --git a/libraries/libmdb/mdb.c b/libraries/libmdb/mdb.c index 76de0db8d4..925aae6a9f 100644 --- a/libraries/libmdb/mdb.c +++ b/libraries/libmdb/mdb.c @@ -57,6 +57,10 @@ #include #include +#if !(defined(BYTE_ORDER) || defined(__BYTE_ORDER)) +#include /* defines BYTE_ORDER on HPUX and Solaris */ +#endif + #ifndef _WIN32 #include #ifdef __APPLE__