summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-01-22 00:35:09 +0000
committerRoger Dingledine <arma@torproject.org>2005-01-22 00:35:09 +0000
commit2a908e5180ca3a81d9f2060f426c670885a097fd (patch)
tree6953fe08b3007ecdbe38601ae1a4fd6ab1dff942 /src/common
parentde9b46ad641f5d0037f1aca64b1787e2f378b56f (diff)
downloadtor-2a908e5180ca3a81d9f2060f426c670885a097fd.tar.gz
tor-2a908e5180ca3a81d9f2060f426c670885a097fd.zip
forward-port: fix win32 compile
svn:r3406
Diffstat (limited to 'src/common')
-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"