[master] 9fac6d080 Add <sys/time.h> include for NetBSD
Poul-Henning Kamp
phk at FreeBSD.org
Thu Mar 21 07:55:08 UTC 2019
commit 9fac6d080bd4b501782d65c22856c0040a9af0a6
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Thu Mar 21 07:54:11 2019 +0000
Add <sys/time.h> include for NetBSD
Submitted by: @tnn2
Fixes #2954
diff --git a/lib/libvarnish/vtcp.c b/lib/libvarnish/vtcp.c
index d222d6bb4..521ab5343 100644
--- a/lib/libvarnish/vtcp.c
+++ b/lib/libvarnish/vtcp.c
@@ -31,6 +31,7 @@
#include <sys/types.h>
#include <sys/socket.h>
+#include <sys/time.h> // for NetBSD
#include <sys/ioctl.h>
#ifdef HAVE_SYS_FILIO_H
# include <sys/filio.h>
More information about the varnish-commit
mailing list