[master] 7b49b13 Add <time.h> include for time(3)

Poul-Henning Kamp phk at FreeBSD.org
Mon Aug 28 23:55:11 CEST 2017


commit 7b49b13fa7f8f4ecbb8ed11765b71674a9723853
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Aug 28 21:54:09 2017 +0000

    Add <time.h> include for time(3)

diff --git a/lib/libvarnish/vsmw.c b/lib/libvarnish/vsmw.c
index 4fba145..1276b41 100644
--- a/lib/libvarnish/vsmw.c
+++ b/lib/libvarnish/vsmw.c
@@ -41,6 +41,7 @@
 #include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
+#include <time.h>
 #include <unistd.h>
 #include <sys/mman.h>
 #include <sys/stat.h>



More information about the varnish-commit mailing list