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_32~125^2~43 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b23bb7a0b143bbe3d1cd301ea101368a80ddce67;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__