I together,

When compiling Squid 3.1.11 on the current OpenBSD, i get an error
because netinet/in.h is not included in include/util.h before including
arpa/inet.h.

Attached is a simple patch fixing this issue.

-- Matthias
--- include/util.h.orig Thu Mar  3 14:04:15 2011
+++ include/util.h      Thu Mar  3 14:02:14 2011
@@ -46,6 +46,7 @@
 #include <sys/time.h>
 #endif
 #if HAVE_ARPA_INET_H
+#include <netinet/in.h>
 #include <arpa/inet.h>
 #endif
 

Reply via email to