[or-cvs] [tor/master] Fix a compile warning on OpenBSD
nickm at torproject.org
nickm at torproject.org
Tue Aug 24 15:58:25 UTC 2010
Author: Sebastian Hahn <sebastian at torproject.org>
Date: Sun, 22 Aug 2010 13:58:23 +0200
Subject: Fix a compile warning on OpenBSD
Commit: 2af6aadfe9a28dd96d3bc4c3741b859492e12a5e
---
changes/bug1848 | 3 +++
src/or/or.h | 3 +++
2 files changed, 6 insertions(+), 0 deletions(-)
create mode 100644 changes/bug1848
diff --git a/changes/bug1848 b/changes/bug1848
new file mode 100644
index 0000000..db00e17
--- /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 e6307e3..48641c8 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
--
1.7.1
More information about the tor-commits
mailing list