Include <netinet/in.h> for Solaris 8

Needed for <resolv.h>, which is needed for BYTE_ORDER.
vmware
Howard Chu 12 years ago
parent 7233bc295b
commit 833cd905b7
  1. 1
      libraries/liblmdb/mdb.c

@ -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

Loading…
Cancel
Save