From ad66dfd064d8e246f699c9512f9c3c6a5a0b2b69 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Mon, 29 Nov 2010 20:13:19 -0500 Subject: [PATCH] Fix http-server.c compilation on freebsd --- sample/http-server.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sample/http-server.c b/sample/http-server.c index a5a54b22..fd4be299 100644 --- a/sample/http-server.c +++ b/sample/http-server.c @@ -30,6 +30,10 @@ #include #include +#ifdef _EVENT_HAVE_NETINET_IN_H +#include +#endif + char uri_root[512]; static const struct table_entry {