summaryrefslogtreecommitdiffstats
path: root/polyp/tagstruct.c
diff options
context:
space:
mode:
Diffstat (limited to 'polyp/tagstruct.c')
-rw-r--r--polyp/tagstruct.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/polyp/tagstruct.c b/polyp/tagstruct.c
index a6dad868..a3bd7d99 100644
--- a/polyp/tagstruct.c
+++ b/polyp/tagstruct.c
@@ -27,9 +27,12 @@
#include <string.h>
#include <unistd.h>
#include <sys/time.h>
-#include <netinet/in.h>
#include <assert.h>
+#ifdef HAVE_NETINET_IN_H
+#include <netinet/in.h>
+#endif
+
#include "tagstruct.h"
#include "xmalloc.h"