소스 검색

give a header file for ntohs

svn:r3388
Roger Dingledine 21 년 전
부모
커밋
a2e441da06
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/common/torgzip.c

+ 1 - 0
src/common/torgzip.c

@@ -20,6 +20,7 @@ const char torgzip_c_id[] = "$Id$";
 #include <zlib.h>
 #endif
 #include <string.h>
+#include <netinet/in.h>
 
 #include "util.h"
 #include "log.h"