diff --git a/libraries/libmdb/mdb.c b/libraries/libmdb/mdb.c index 76de0db..925aae6 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__