[master] 563b21e Missed these two in yesterdays OpenBSD compat commit.

Poul-Henning Kamp phk at varnish-cache.org
Sat Apr 28 09:16:56 CEST 2012


commit 563b21e1c6f4ea9891b527877cf36d0df8380cc4
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Sat Apr 28 07:16:13 2012 +0000

    Missed these two in yesterdays OpenBSD compat commit.

diff --git a/lib/libvarnish/vsha256.c b/lib/libvarnish/vsha256.c
index 10b7a6a..0a521b2 100644
--- a/lib/libvarnish/vsha256.c
+++ b/lib/libvarnish/vsha256.c
@@ -29,6 +29,7 @@
 #include "config.h"
 
 #ifdef HAVE_SYS_ENDIAN_H
+#include <sys/types.h>
 #include <sys/endian.h>
 #define VBYTE_ORDER	_BYTE_ORDER
 #define VBIG_ENDIAN	_BIG_ENDIAN
diff --git a/lib/libvmod_std/vmod_std.c b/lib/libvmod_std/vmod_std.c
index d1f6771..5b5c0aa 100644
--- a/lib/libvmod_std/vmod_std.c
+++ b/lib/libvmod_std/vmod_std.c
@@ -28,6 +28,8 @@
 
 #include "config.h"
 
+#include <sys/types.h>
+#include <sys/socket.h>
 #include <netinet/in.h>
 
 #include <ctype.h>



More information about the varnish-commit mailing list