From: Sebastian Hahn Date: Sun, 22 Aug 2010 11:58:23 +0000 (+0200) Subject: Fix a compile warning on OpenBSD X-Git-Tag: tor-0.2.2.16-alpha~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2af6aadfe9a28dd96d3bc4c3741b859492e12a5e;p=thirdparty%2Ftor.git Fix a compile warning on OpenBSD --- diff --git a/changes/bug1848 b/changes/bug1848 new file mode 100644 index 0000000000..db00e17f83 --- /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 e6307e3eea..48641c8115 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -59,6 +59,9 @@ #ifdef HAVE_SYS_STAT_H #include #endif +#ifdef HAVE_NETINET_IN_H +#include +#endif #ifdef HAVE_ARPA_INET_H #include #endif