aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--changes/bug18483
-rw-r--r--src/or/or.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/changes/bug1848 b/changes/bug1848
new file mode 100644
index 000000000..db00e17f8
--- /dev/null
+++ b/changes/bug1848
@@ -0,0 +1,3 @@
+ o Minor bugfixes:
+ - Squash a compile warning on OpenBSD. Reported by Tas, fixes bug 1848.
+
diff --git a/src/or/or.h b/src/or/or.h
index e6307e3ee..48641c811 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