diff -ruN libopendaap.orig/http_client.c libopendaap/http_client.c
--- libopendaap.orig/http_client.c	Mon Jan 17 15:36:28 2005
+++ libopendaap/http_client.c	Mon Jan 17 15:37:01 2005
@@ -36,6 +36,7 @@
 # include <sys/types.h>
 # include <sys/socket.h>
 # include <sys/select.h>
+# include <netinet/in.h>
 # include <netdb.h>
 # include <fcntl.h>
 #elif defined(SYSTEM_WIN32)
