aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorSebastian Hahn <sebastian@torproject.org>2010-08-22 13:58:23 +0200
committerSebastian Hahn <sebastian@torproject.org>2010-08-22 13:58:23 +0200
commit2af6aadfe9a28dd96d3bc4c3741b859492e12a5e (patch)
tree58576b8a365b527006761c443c4847f838c6be91 /src/or
parent34551cda6f699cee5816a5935b56787ccb7b8f67 (diff)
downloadtor-2af6aadfe9a28dd96d3bc4c3741b859492e12a5e.tar.gz
tor-2af6aadfe9a28dd96d3bc4c3741b859492e12a5e.zip
Fix a compile warning on OpenBSD
Diffstat (limited to 'src/or')
-rw-r--r--src/or/or.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index e6307e3eea..48641c8115 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -59,6 +59,9 @@
#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif
+#ifdef HAVE_NETINET_IN_H
+#include <netinet/in.h>
+#endif
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif