From: Adam Dickmeiss Date: Wed, 10 Jan 2007 11:56:10 +0000 (+0000) Subject: Include netinet/in.h for IP resolve types. Makes pazpar2 run happily X-Git-Tag: rather.stable.2007.01.11~13 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=00114b899c187399eafbaa3cd4bbf16bd0bf467a;p=pazpar2-moved-to-github.git Include netinet/in.h for IP resolve types. Makes pazpar2 run happily on FreeBSD. --- diff --git a/src/http.c b/src/http.c index cbba2a8..3408089 100644 --- a/src/http.c +++ b/src/http.c @@ -1,5 +1,5 @@ /* - * $Id: http.c,v 1.8 2007-01-10 10:04:23 adam Exp $ + * $Id: http.c,v 1.9 2007-01-10 11:56:10 adam Exp $ */ #include @@ -19,6 +19,8 @@ #include #endif +#include + #include #include #include diff --git a/src/pazpar2.c b/src/pazpar2.c index 5047a5d..1fe17a8 100644 --- a/src/pazpar2.c +++ b/src/pazpar2.c @@ -1,4 +1,4 @@ -/* $Id: pazpar2.c,v 1.25 2007-01-10 10:48:27 adam Exp $ */ +/* $Id: pazpar2.c,v 1.26 2007-01-10 11:56:10 adam Exp $ */ #include #include @@ -29,6 +29,8 @@ #include #endif +#include + #include "pazpar2.h" #include "eventl.h" #include "http.h"