summaryrefslogtreecommitdiff
path: root/src/common/torgzip.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-01-20 20:15:14 +0000
committerRoger Dingledine <arma@torproject.org>2005-01-20 20:15:14 +0000
commita2e441da065d284a1a07b614517206d269e005f1 (patch)
tree470524334b2396fdc0a1bc3f6f0204da6361e08e /src/common/torgzip.c
parent67f0babfd4a92ef709db3a972052390a6cefbd72 (diff)
downloadtor-a2e441da065d284a1a07b614517206d269e005f1.tar.gz
tor-a2e441da065d284a1a07b614517206d269e005f1.zip
give a header file for ntohs
svn:r3388
Diffstat (limited to 'src/common/torgzip.c')
-rw-r--r--src/common/torgzip.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/torgzip.c b/src/common/torgzip.c
index 9ac72e0f9f..e879808035 100644
--- a/src/common/torgzip.c
+++ b/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"