]> git.sur5r.net Git - openldap/commitdiff
Include <netinet/in.h> for Solaris 8
authorHoward Chu <hyc@symas.com>
Wed, 15 May 2013 18:50:40 +0000 (11:50 -0700)
committerHoward Chu <hyc@symas.com>
Wed, 15 May 2013 18:50:40 +0000 (11:50 -0700)
Needed for <resolv.h>, which is needed for BYTE_ORDER.

libraries/liblmdb/mdb.c

index c09cb0d91820729fcb93ecd14a1da2171ecc428c..8415ccb26c65f3583995ab889809e27f90193a16 100644 (file)
@@ -59,6 +59,7 @@
 #include <unistd.h>
 
 #if !(defined(BYTE_ORDER) || defined(__BYTE_ORDER))
+#include <netinet/in.h>
 #include <resolv.h>    /* defines BYTE_ORDER on HPUX and Solaris */
 #endif