r738 - in trunk/varnish-cache: bin/varnishd lib/libvcl

des at projects.linpro.no des at projects.linpro.no
Mon Aug 7 18:26:54 CEST 2006


Author: des
Date: 2006-08-07 18:26:54 +0200 (Mon, 07 Aug 2006)
New Revision: 738

Modified:
   trunk/varnish-cache/bin/varnishd/storage_file.c
   trunk/varnish-cache/lib/libvcl/vcc_compile.c
Log:
#include "compat.h" for asprintf().

Modified: trunk/varnish-cache/bin/varnishd/storage_file.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/storage_file.c	2006-08-07 16:24:54 UTC (rev 737)
+++ trunk/varnish-cache/bin/varnishd/storage_file.c	2006-08-07 16:26:54 UTC (rev 738)
@@ -4,20 +4,22 @@
  * Storage method based on mmap'ed file
  */
 
-#include <stdio.h>
-#include <unistd.h>
+#include <sys/param.h>
+#include <sys/mman.h>
+#include <sys/mount.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+
+#include <errno.h>
 #include <fcntl.h>
-#include <errno.h>
+#include <limits.h>
 #include <stdint.h>
-#include <limits.h>
+#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#include <sys/stat.h>
-#include <sys/param.h>
-#include <sys/mount.h>
-#include <sys/mman.h>
-#include <sys/socket.h>
+#include <unistd.h>
 
+#include "compat.h"
 #include "libvarnish.h"
 #include "shmlog.h"
 #include "cache.h"

Modified: trunk/varnish-cache/lib/libvcl/vcc_compile.c
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_compile.c	2006-08-07 16:24:54 UTC (rev 737)
+++ trunk/varnish-cache/lib/libvcl/vcc_compile.c	2006-08-07 16:26:54 UTC (rev 738)
@@ -50,6 +50,7 @@
 #include <queue.h>
 #include <unistd.h>
 
+#include "compat.h"
 #include "vsb.h"
 
 #include "vcc_priv.h"




More information about the varnish-commit mailing list