summaryrefslogtreecommitdiff
path: root/source4/include/system/network.h
diff options
context:
space:
mode:
Diffstat (limited to 'source4/include/system/network.h')
-rw-r--r--source4/include/system/network.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source4/include/system/network.h b/source4/include/system/network.h
index b1da60e69e..3d833780ec 100644
--- a/source4/include/system/network.h
+++ b/source4/include/system/network.h
@@ -28,9 +28,16 @@
#include <sys/un.h>
#endif
+#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
+#endif
+#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
+#endif
+
+#ifdef HAVE_NETDB_H
#include <netdb.h>
+#endif
#ifdef HAVE_NETINET_TCP_H
#include <netinet/tcp.h>