소스 검색

forward-port: fix win32 compile

svn:r3406
Roger Dingledine 21 년 전
부모
커밋
2a908e5180
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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"