Browse Source

forward-port: fix win32 compile

svn:r3406
Roger Dingledine 19 years ago
parent
commit
2a908e5180
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/common/torgzip.c

+ 2 - 0
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"