Include netinet/in.h for IP resolve types. Makes pazpar2 run happily
authorAdam Dickmeiss <adam@indexdata.dk>
Wed, 10 Jan 2007 11:56:10 +0000 (11:56 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Wed, 10 Jan 2007 11:56:10 +0000 (11:56 +0000)
on FreeBSD.

src/http.c
src/pazpar2.c

index cbba2a8..3408089 100644 (file)
@@ -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 <stdio.h>
@@ -19,6 +19,8 @@
 #include <cconfig.h>
 #endif
 
+#include <netinet/in.h>
+
 #include <yaz/yaz-util.h>
 #include <yaz/comstack.h>
 #include <netdb.h>
index 5047a5d..1fe17a8 100644 (file)
@@ -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 <stdlib.h>
 #include <stdio.h>
@@ -29,6 +29,8 @@
 #include <yaz/timing.h>
 #endif
 
+#include <netinet/in.h>
+
 #include "pazpar2.h"
 #include "eventl.h"
 #include "http.h"