From b23bb7a0b143bbe3d1cd301ea101368a80ddce67 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 21 Feb 2012 11:52:01 -0800 Subject: [PATCH] ITS#7160 get BYTE_ORDER def for HPUX (and Solaris) --- libraries/libmdb/mdb.c | 4 ++++ 1 file changed, 4 insertions(+) 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__