[prev in list] [next in list] [prev in thread] [next in thread] 

List:       varnish-commit
Subject:    [master] 9fac6d080 Add <sys/time.h> include for NetBSD
From:       Poul-Henning Kamp <phk () FreeBSD ! org>
Date:       2019-03-21 7:55:08
Message-ID: 20190321075508.6B0056024C () lists ! varnish-cache ! org
[Download RAW message or body]


commit 9fac6d080bd4b501782d65c22856c0040a9af0a6
Author: Poul-Henning Kamp <phk@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>
_______________________________________________
varnish-commit mailing list
varnish-commit@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic