[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] Fix win32 compile



Update of /home/or/cvsroot/tor/src/common
In directory moria.mit.edu:/tmp/cvs-serv14534/src/common

Modified Files:
      Tag: tor-0_0_9-patches
	torgzip.c 
Log Message:
Fix win32 compile

Index: torgzip.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/common/torgzip.c,v
retrieving revision 1.9.2.2
retrieving revision 1.9.2.3
diff -u -d -r1.9.2.2 -r1.9.2.3
--- torgzip.c	22 Jan 2005 00:06:09 -0000	1.9.2.2
+++ torgzip.c	22 Jan 2005 00:31:35 -0000	1.9.2.3
@@ -20,7 +20,9 @@
 #include <zlib.h>
 #endif
 #include <string.h>
+#ifdef HAVE_NETINET_IN_H
 #include <netinet/in.h>
+#endif
 
 #include "util.h"
 #include "log.h"