summaryrefslogtreecommitdiff
path: root/src/common/torgzip.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/torgzip.c')
-rw-r--r--src/common/torgzip.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/torgzip.c b/src/common/torgzip.c
index e879808035..e9281ad5ff 100644
--- a/src/common/torgzip.c
+++ b/src/common/torgzip.c
@@ -20,7 +20,9 @@ const char torgzip_c_id[] = "$Id$";
#include <zlib.h>
#endif
#include <string.h>
+#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
+#endif
#include "util.h"
#include "log.h"