aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Barksdale <amatus.amongus@gmail.com>2013-06-18 02:51:15 +0000
committerDavid Barksdale <amatus.amongus@gmail.com>2013-06-18 02:51:15 +0000
commita1a3e38bf8d6f8e67c5e9f1109706bece9bef10c (patch)
tree0ea7624872aac9f02c81ec841e5a46ec835a712a /src
parentd988c24f3d7509c1bc6a432766e7a0753760b1b1 (diff)
Compile on platforms without netinet/ip.h. Furthur fixes to come.
Diffstat (limited to 'src')
-rw-r--r--src/include/platform.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/platform.h b/src/include/platform.h
index b23f2ba2c0..eb56052ad5 100644
--- a/src/include/platform.h
+++ b/src/include/platform.h
@@ -86,7 +86,9 @@
#if HAVE_NETINET_IN_SYSTM_H
#include <netinet/in_systm.h>
#endif
+#if HAVE_NETINET_IP_H
#include <netinet/ip.h> /* superset of previous */
+#endif
#include <arpa/inet.h>
#include <netinet/tcp.h>
#include <pwd.h>