]> granicus.if.org Git - libevent/commitdiff
fix freebsd compile; from Alexander Drozdov
authorNiels Provos <provos@gmail.com>
Wed, 21 Jan 2009 07:18:31 +0000 (07:18 +0000)
committerNiels Provos <provos@gmail.com>
Wed, 21 Jan 2009 07:18:31 +0000 (07:18 +0000)
svn:r1030

evutil.c

index 68503ebcb948ca59573b3baf56e9b2e120e41414..4397025d5ac07afadd60deb718fc020103c651f8 100644 (file)
--- a/evutil.c
+++ b/evutil.c
@@ -56,6 +56,9 @@
 #ifdef HAVE_ARPA_INET_H
 #include <arpa/inet.h>
 #endif
+#ifdef HAVE_NETINET_IN_H
+#include <netinet/in.h>
+#endif
 #ifdef HAVE_NETINET_IN6_H
 #include <netinet/in6.h>
 #endif