[master] 6888981 Add necessary #includes
Poul-Henning Kamp
phk at varnish-cache.org
Sun Oct 9 22:14:54 CEST 2011
commit 6888981c59d95d9832f5fac29a5b2e6aae7752fa
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Sun Oct 9 20:14:45 2011 +0000
Add necessary #includes
diff --git a/bin/varnishd/varnishd.c b/bin/varnishd/varnishd.c
index bf61ea3..9ba9570 100644
--- a/bin/varnishd/varnishd.c
+++ b/bin/varnishd/varnishd.c
@@ -40,6 +40,7 @@
#include <stdlib.h>
#include <string.h>
#include <syslog.h>
+#include <time.h>
#include <unistd.h>
#include <sys/utsname.h>
diff --git a/bin/varnishd/vsm.c b/bin/varnishd/vsm.c
index dc265ba..d1717fe 100644
--- a/bin/varnishd/vsm.c
+++ b/bin/varnishd/vsm.c
@@ -47,13 +47,15 @@
#include "config.h"
-#include <unistd.h>
-#include <string.h>
+#include <stdint.h>
#include <stdio.h>
+#include <string.h>
+#include <unistd.h>
#include "common.h"
-#include "vsm.h"
+
#include "vmb.h"
+#include "vsm.h"
#include "vtim.h"
/* These two come from beyond (mgt_shmem.c actually) */
diff --git a/bin/varnishtest/vtc.c b/bin/varnishtest/vtc.c
index 4404de9..5c6bbfd 100644
--- a/bin/varnishtest/vtc.c
+++ b/bin/varnishtest/vtc.c
@@ -28,14 +28,15 @@
#include "config.h"
-#include <stdio.h>
-#include <string.h>
#include <ctype.h>
#include <stdarg.h>
+#include <stdint.h>
+#include <stdio.h>
#include <stdlib.h>
-#include <unistd.h>
+#include <string.h>
#include <sys/types.h>
#include <sys/wait.h>
+#include <unistd.h>
#include "vtc.h"
More information about the varnish-commit
mailing list