]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix a compile warning on OpenBSD
authorSebastian Hahn <sebastian@torproject.org>
Sun, 22 Aug 2010 11:58:23 +0000 (13:58 +0200)
committerSebastian Hahn <sebastian@torproject.org>
Sun, 22 Aug 2010 11:58:23 +0000 (13:58 +0200)
changes/bug1848 [new file with mode: 0644]
src/or/or.h

diff --git a/changes/bug1848 b/changes/bug1848
new file mode 100644 (file)
index 0000000..db00e17
--- /dev/null
@@ -0,0 +1,3 @@
+  o Minor bugfixes:
+    - Squash a compile warning on OpenBSD. Reported by Tas, fixes bug 1848.
+
index e6307e3eeaa6b2afcb1683f6da013bd1e69c0eb7..48641c8115a9767c85e6a3d026c194fabb9001ec 100644 (file)
@@ -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