[master] 94fba10c0 Revert "gc includes"
Nils Goroll
nils.goroll at uplex.de
Thu Jan 7 17:37:07 UTC 2021
commit 94fba10c0f6abb8d58a1e887a2e1c76c385b261b
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Thu Jan 7 18:36:10 2021 +0100
Revert "gc includes"
needed on FreeBSD
This reverts commit 195860033dc706a3bc2e199e75669ce477a36c7e.
diff --git a/vmod/vmod_blob.h b/vmod/vmod_blob.h
index 3ca99c024..90872b61a 100644
--- a/vmod/vmod_blob.h
+++ b/vmod/vmod_blob.h
@@ -31,6 +31,7 @@
/* vrt.h must be included before this header (for struct strands). */
#include <stdlib.h>
+#include <sys/types.h>
enum encoding {
__INVALID_ENCODING = 0,
diff --git a/vmod/vmod_debug_dyn.c b/vmod/vmod_debug_dyn.c
index 879a382b2..8ab467085 100644
--- a/vmod/vmod_debug_dyn.c
+++ b/vmod/vmod_debug_dyn.c
@@ -33,6 +33,7 @@
#include <netdb.h>
#include <stdlib.h>
#include <string.h>
+#include <sys/socket.h>
#include <sys/stat.h>
#include <unistd.h>
diff --git a/vmod/vmod_unix_cred_compat.h b/vmod/vmod_unix_cred_compat.h
index c75fdb5f2..9ac8438f8 100644
--- a/vmod/vmod_unix_cred_compat.h
+++ b/vmod/vmod_unix_cred_compat.h
@@ -27,6 +27,7 @@
*
*/
+#include <sys/types.h>
#include <sys/socket.h>
#if defined(HAVE_GETPEEREID)
More information about the varnish-commit
mailing list