r3072 - in trunk/varnish-cache: bin/varnishadm bin/varnishd bin/varnishhist bin/varnishlog bin/varnishncsa bin/varnishreplay bin/varnishstat bin/varnishtop lib/libvarnish lib/libvarnishapi lib/libvcl
phk at projects.linpro.no
phk at projects.linpro.no
Mon Aug 11 09:47:25 CEST 2008
Author: phk
Date: 2008-08-11 09:47:24 +0200 (Mon, 11 Aug 2008)
New Revision: 3072
Modified:
trunk/varnish-cache/bin/varnishadm/varnishadm.c
trunk/varnish-cache/bin/varnishd/cache_acceptor.c
trunk/varnish-cache/bin/varnishd/cache_center.c
trunk/varnish-cache/bin/varnishd/cache_http.c
trunk/varnish-cache/bin/varnishd/cache_panic.c
trunk/varnish-cache/bin/varnishd/mgt_child.c
trunk/varnish-cache/bin/varnishd/mgt_cli.c
trunk/varnish-cache/bin/varnishd/mgt_param.c
trunk/varnish-cache/bin/varnishd/mgt_vcc.c
trunk/varnish-cache/bin/varnishd/storage_file.c
trunk/varnish-cache/bin/varnishd/tcp.c
trunk/varnish-cache/bin/varnishhist/varnishhist.c
trunk/varnish-cache/bin/varnishlog/varnishlog.c
trunk/varnish-cache/bin/varnishncsa/varnishncsa.c
trunk/varnish-cache/bin/varnishreplay/varnishreplay.c
trunk/varnish-cache/bin/varnishstat/varnishstat.c
trunk/varnish-cache/bin/varnishtop/varnishtop.c
trunk/varnish-cache/lib/libvarnish/argv.c
trunk/varnish-cache/lib/libvarnish/assert.c
trunk/varnish-cache/lib/libvarnish/binary_heap.c
trunk/varnish-cache/lib/libvarnish/cli_common.c
trunk/varnish-cache/lib/libvarnish/flopen.c
trunk/varnish-cache/lib/libvarnish/time.c
trunk/varnish-cache/lib/libvarnish/version.c
trunk/varnish-cache/lib/libvarnish/vpf.c
trunk/varnish-cache/lib/libvarnish/vss.c
trunk/varnish-cache/lib/libvarnish/vtmpfile.c
trunk/varnish-cache/lib/libvarnishapi/base64.c
trunk/varnish-cache/lib/libvarnishapi/instance.c
trunk/varnish-cache/lib/libvarnishapi/shmlog.c
trunk/varnish-cache/lib/libvcl/vcc_acl.c
trunk/varnish-cache/lib/libvcl/vcc_action.c
trunk/varnish-cache/lib/libvcl/vcc_backend.c
trunk/varnish-cache/lib/libvcl/vcc_compile.c
trunk/varnish-cache/lib/libvcl/vcc_fixed_token.c
trunk/varnish-cache/lib/libvcl/vcc_obj.c
trunk/varnish-cache/lib/libvcl/vcc_parse.c
trunk/varnish-cache/lib/libvcl/vcc_string.c
trunk/varnish-cache/lib/libvcl/vcc_token.c
trunk/varnish-cache/lib/libvcl/vcc_var.c
trunk/varnish-cache/lib/libvcl/vcc_xref.c
Log:
Pull in all the #include <config.h> from the Solaris patch
Submitted by: Theo Schlossnagle
Modified: trunk/varnish-cache/bin/varnishadm/varnishadm.c
===================================================================
--- trunk/varnish-cache/bin/varnishadm/varnishadm.c 2008-08-07 09:56:42 UTC (rev 3071)
+++ trunk/varnish-cache/bin/varnishadm/varnishadm.c 2008-08-11 07:47:24 UTC (rev 3072)
@@ -36,6 +36,7 @@
#include <unistd.h>
#include <string.h>
+#include "config.h"
#include "libvarnish.h"
#include "vss.h"
Modified: trunk/varnish-cache/bin/varnishd/cache_acceptor.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_acceptor.c 2008-08-07 09:56:42 UTC (rev 3071)
+++ trunk/varnish-cache/bin/varnishd/cache_acceptor.c 2008-08-11 07:47:24 UTC (rev 3072)
@@ -46,6 +46,7 @@
#include <sys/types.h>
#include <sys/socket.h>
+#include "config.h"
#include "cli.h"
#include "cli_priv.h"
#include "shmlog.h"
Modified: trunk/varnish-cache/bin/varnishd/cache_center.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_center.c 2008-08-07 09:56:42 UTC (rev 3071)
+++ trunk/varnish-cache/bin/varnishd/cache_center.c 2008-08-11 07:47:24 UTC (rev 3072)
@@ -67,6 +67,7 @@
#include <string.h>
#include <unistd.h>
+#include "config.h"
#ifndef HAVE_SRANDOMDEV
#include "compat/srandomdev.h"
#endif
Modified: trunk/varnish-cache/bin/varnishd/cache_http.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_http.c 2008-08-07 09:56:42 UTC (rev 3071)
+++ trunk/varnish-cache/bin/varnishd/cache_http.c 2008-08-11 07:47:24 UTC (rev 3072)
@@ -41,6 +41,7 @@
#include <string.h>
#include <strings.h>
+#include "config.h"
#include "shmlog.h"
#include "vct.h"
#include "cache.h"
Modified: trunk/varnish-cache/bin/varnishd/cache_panic.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_panic.c 2008-08-07 09:56:42 UTC (rev 3071)
+++ trunk/varnish-cache/bin/varnishd/cache_panic.c 2008-08-11 07:47:24 UTC (rev 3072)
@@ -37,6 +37,7 @@
#include <stdlib.h>
#include <unistd.h>
+#include "config.h"
#include "cache.h"
#include "cache_backend.h"
#include "vcl.h"
Modified: trunk/varnish-cache/bin/varnishd/mgt_child.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/mgt_child.c 2008-08-07 09:56:42 UTC (rev 3071)
+++ trunk/varnish-cache/bin/varnishd/mgt_child.c 2008-08-11 07:47:24 UTC (rev 3072)
@@ -45,6 +45,7 @@
#include <sys/types.h>
#include <sys/wait.h>
+#include "config.h"
#ifndef HAVE_SETPROCTITLE
#include "compat/setproctitle.h"
#endif
Modified: trunk/varnish-cache/bin/varnishd/mgt_cli.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/mgt_cli.c 2008-08-07 09:56:42 UTC (rev 3071)
+++ trunk/varnish-cache/bin/varnishd/mgt_cli.c 2008-08-11 07:47:24 UTC (rev 3072)
@@ -45,6 +45,7 @@
#include <unistd.h>
#include <sys/socket.h>
+#include "config.h"
#ifndef HAVE_VASPRINTF
#include "compat/vasprintf.h"
#endif
Modified: trunk/varnish-cache/bin/varnishd/mgt_param.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/mgt_param.c 2008-08-07 09:56:42 UTC (rev 3071)
+++ trunk/varnish-cache/bin/varnishd/mgt_param.c 2008-08-11 07:47:24 UTC (rev 3072)
@@ -43,6 +43,7 @@
#include <string.h>
#include <unistd.h>
+#include "config.h"
#include "cli.h"
#include "cli_priv.h"
#include "cli_common.h"
Modified: trunk/varnish-cache/bin/varnishd/mgt_vcc.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/mgt_vcc.c 2008-08-07 09:56:42 UTC (rev 3071)
+++ trunk/varnish-cache/bin/varnishd/mgt_vcc.c 2008-08-11 07:47:24 UTC (rev 3072)
@@ -43,6 +43,7 @@
#include <string.h>
#include <unistd.h>
+#include "config.h"
#ifndef HAVE_ASPRINTF
#include "compat/asprintf.h"
#endif
Modified: trunk/varnish-cache/bin/varnishd/storage_file.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/storage_file.c 2008-08-07 09:56:42 UTC (rev 3071)
+++ trunk/varnish-cache/bin/varnishd/storage_file.c 2008-08-11 07:47:24 UTC (rev 3072)
@@ -38,6 +38,7 @@
#include <sys/socket.h>
#include <sys/stat.h>
+#include "config.h"
#ifdef HAVE_SYS_MOUNT_H
#include <sys/mount.h>
#endif
Modified: trunk/varnish-cache/bin/varnishd/tcp.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/tcp.c 2008-08-07 09:56:42 UTC (rev 3071)
+++ trunk/varnish-cache/bin/varnishd/tcp.c 2008-08-11 07:47:24 UTC (rev 3072)
@@ -45,6 +45,7 @@
#include <string.h>
#include <unistd.h>
+#include "config.h"
#ifndef HAVE_STRLCPY
#include "compat/strlcpy.h"
#endif
Modified: trunk/varnish-cache/bin/varnishhist/varnishhist.c
===================================================================
--- trunk/varnish-cache/bin/varnishhist/varnishhist.c 2008-08-07 09:56:42 UTC (rev 3071)
+++ trunk/varnish-cache/bin/varnishhist/varnishhist.c 2008-08-11 07:47:24 UTC (rev 3072)
@@ -46,6 +46,7 @@
#include <string.h>
#include <unistd.h>
+#include "config.h"
#include "libvarnish.h"
#include "shmlog.h"
#include "varnishapi.h"
Modified: trunk/varnish-cache/bin/varnishlog/varnishlog.c
===================================================================
--- trunk/varnish-cache/bin/varnishlog/varnishlog.c 2008-08-07 09:56:42 UTC (rev 3071)
+++ trunk/varnish-cache/bin/varnishlog/varnishlog.c 2008-08-11 07:47:24 UTC (rev 3072)
@@ -43,6 +43,7 @@
#include <unistd.h>
#include <limits.h>
+#include "config.h"
#ifndef HAVE_DAEMON
#include "compat/daemon.h"
#endif
Modified: trunk/varnish-cache/bin/varnishncsa/varnishncsa.c
===================================================================
--- trunk/varnish-cache/bin/varnishncsa/varnishncsa.c 2008-08-07 09:56:42 UTC (rev 3071)
+++ trunk/varnish-cache/bin/varnishncsa/varnishncsa.c 2008-08-11 07:47:24 UTC (rev 3072)
@@ -71,6 +71,7 @@
#include <unistd.h>
#include <limits.h>
+#include "config.h"
#ifndef HAVE_DAEMON
#include "compat/daemon.h"
#endif
Modified: trunk/varnish-cache/bin/varnishreplay/varnishreplay.c
===================================================================
--- trunk/varnish-cache/bin/varnishreplay/varnishreplay.c 2008-08-07 09:56:42 UTC (rev 3071)
+++ trunk/varnish-cache/bin/varnishreplay/varnishreplay.c 2008-08-11 07:47:24 UTC (rev 3072)
@@ -43,6 +43,7 @@
#include <string.h>
#include <unistd.h>
+#include "config.h"
#include "vqueue.h"
#include "libvarnish.h"
Modified: trunk/varnish-cache/bin/varnishstat/varnishstat.c
===================================================================
--- trunk/varnish-cache/bin/varnishstat/varnishstat.c 2008-08-07 09:56:42 UTC (rev 3071)
+++ trunk/varnish-cache/bin/varnishstat/varnishstat.c 2008-08-11 07:47:24 UTC (rev 3072)
@@ -46,6 +46,7 @@
#include <time.h>
#include <unistd.h>
+#include "config.h"
#include "libvarnish.h"
#include "shmlog.h"
#include "varnishapi.h"
Modified: trunk/varnish-cache/bin/varnishtop/varnishtop.c
===================================================================
--- trunk/varnish-cache/bin/varnishtop/varnishtop.c 2008-08-07 09:56:42 UTC (rev 3071)
+++ trunk/varnish-cache/bin/varnishtop/varnishtop.c 2008-08-11 07:47:24 UTC (rev 3072)
@@ -45,6 +45,7 @@
#include <unistd.h>
#include <limits.h>
+#include "config.h"
#include "vqueue.h"
#include "vsb.h"
Modified: trunk/varnish-cache/lib/libvarnish/argv.c
===================================================================
--- trunk/varnish-cache/lib/libvarnish/argv.c 2008-08-07 09:56:42 UTC (rev 3071)
+++ trunk/varnish-cache/lib/libvarnish/argv.c 2008-08-11 07:47:24 UTC (rev 3072)
@@ -45,6 +45,7 @@
#include <stdio.h>
#include <stdint.h>
+#include "config.h"
#include "libvarnish.h"
static int
Modified: trunk/varnish-cache/lib/libvarnish/assert.c
===================================================================
--- trunk/varnish-cache/lib/libvarnish/assert.c 2008-08-07 09:56:42 UTC (rev 3071)
+++ trunk/varnish-cache/lib/libvarnish/assert.c 2008-08-11 07:47:24 UTC (rev 3072)
@@ -37,6 +37,7 @@
#include <stdlib.h>
#include <string.h>
+#include "config.h"
#include "libvarnish.h"
static void
Modified: trunk/varnish-cache/lib/libvarnish/binary_heap.c
===================================================================
--- trunk/varnish-cache/lib/libvarnish/binary_heap.c 2008-08-07 09:56:42 UTC (rev 3071)
+++ trunk/varnish-cache/lib/libvarnish/binary_heap.c 2008-08-11 07:47:24 UTC (rev 3072)
@@ -41,6 +41,7 @@
#include <unistd.h>
#include <stdlib.h>
+#include "config.h"
#include "binary_heap.h"
#include "libvarnish.h"
Modified: trunk/varnish-cache/lib/libvarnish/cli_common.c
===================================================================
--- trunk/varnish-cache/lib/libvarnish/cli_common.c 2008-08-07 09:56:42 UTC (rev 3071)
+++ trunk/varnish-cache/lib/libvarnish/cli_common.c 2008-08-11 07:47:24 UTC (rev 3072)
@@ -46,6 +46,7 @@
#include <time.h>
#include <unistd.h>
+#include "config.h"
#include "vsb.h"
#include "libvarnish.h"
Modified: trunk/varnish-cache/lib/libvarnish/flopen.c
===================================================================
--- trunk/varnish-cache/lib/libvarnish/flopen.c 2008-08-07 09:56:42 UTC (rev 3071)
+++ trunk/varnish-cache/lib/libvarnish/flopen.c 2008-08-11 07:47:24 UTC (rev 3072)
@@ -39,6 +39,7 @@
#include <stdarg.h>
#include <unistd.h>
+#include "config.h"
#include "flopen.h"
int
Modified: trunk/varnish-cache/lib/libvarnish/time.c
===================================================================
--- trunk/varnish-cache/lib/libvarnish/time.c 2008-08-07 09:56:42 UTC (rev 3071)
+++ trunk/varnish-cache/lib/libvarnish/time.c 2008-08-11 07:47:24 UTC (rev 3072)
@@ -54,6 +54,7 @@
#include <string.h>
#include <time.h>
+#include "config.h"
#include "libvarnish.h"
double
Modified: trunk/varnish-cache/lib/libvarnish/version.c
===================================================================
--- trunk/varnish-cache/lib/libvarnish/version.c 2008-08-07 09:56:42 UTC (rev 3071)
+++ trunk/varnish-cache/lib/libvarnish/version.c 2008-08-11 07:47:24 UTC (rev 3072)
@@ -35,6 +35,7 @@
#include <stdio.h>
+#include "config.h"
#include "libvarnish.h"
void
Modified: trunk/varnish-cache/lib/libvarnish/vpf.c
===================================================================
--- trunk/varnish-cache/lib/libvarnish/vpf.c 2008-08-07 09:56:42 UTC (rev 3071)
+++ trunk/varnish-cache/lib/libvarnish/vpf.c 2008-08-11 07:47:24 UTC (rev 3072)
@@ -41,6 +41,7 @@
#include <string.h>
#include <unistd.h>
+#include "config.h"
#ifndef HAVE_STRLCPY
#include "compat/strlcpy.h"
#endif
Modified: trunk/varnish-cache/lib/libvarnish/vss.c
===================================================================
--- trunk/varnish-cache/lib/libvarnish/vss.c 2008-08-07 09:56:42 UTC (rev 3071)
+++ trunk/varnish-cache/lib/libvarnish/vss.c 2008-08-11 07:47:24 UTC (rev 3072)
@@ -44,6 +44,7 @@
#include <string.h>
#include <unistd.h>
+#include "config.h"
#ifndef HAVE_STRLCPY
#include "compat/strlcpy.h"
#endif
Modified: trunk/varnish-cache/lib/libvarnish/vtmpfile.c
===================================================================
--- trunk/varnish-cache/lib/libvarnish/vtmpfile.c 2008-08-07 09:56:42 UTC (rev 3071)
+++ trunk/varnish-cache/lib/libvarnish/vtmpfile.c 2008-08-11 07:47:24 UTC (rev 3072)
@@ -36,6 +36,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include "config.h"
#include "libvarnish.h"
int
Modified: trunk/varnish-cache/lib/libvarnishapi/base64.c
===================================================================
--- trunk/varnish-cache/lib/libvarnishapi/base64.c 2008-08-07 09:56:42 UTC (rev 3071)
+++ trunk/varnish-cache/lib/libvarnishapi/base64.c 2008-08-11 07:47:24 UTC (rev 3072)
@@ -10,6 +10,7 @@
#include <sys/types.h>
#include <stdint.h>
+#include "config.h"
#include "varnishapi.h"
static const char *b64 =
Modified: trunk/varnish-cache/lib/libvarnishapi/instance.c
===================================================================
--- trunk/varnish-cache/lib/libvarnishapi/instance.c 2008-08-07 09:56:42 UTC (rev 3071)
+++ trunk/varnish-cache/lib/libvarnishapi/instance.c 2008-08-11 07:47:24 UTC (rev 3072)
@@ -34,6 +34,7 @@
#include <stdio.h>
#include <unistd.h>
+#include "config.h"
#include "varnishapi.h"
int
Modified: trunk/varnish-cache/lib/libvarnishapi/shmlog.c
===================================================================
--- trunk/varnish-cache/lib/libvarnishapi/shmlog.c 2008-08-07 09:56:42 UTC (rev 3071)
+++ trunk/varnish-cache/lib/libvarnishapi/shmlog.c 2008-08-11 07:47:24 UTC (rev 3072)
@@ -45,6 +45,7 @@
#include <string.h>
#include <unistd.h>
+#include "config.h"
#include "shmlog.h"
#include "miniobj.h"
#include "varnishapi.h"
Modified: trunk/varnish-cache/lib/libvcl/vcc_acl.c
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_acl.c 2008-08-07 09:56:42 UTC (rev 3071)
+++ trunk/varnish-cache/lib/libvcl/vcc_acl.c 2008-08-11 07:47:24 UTC (rev 3072)
@@ -41,6 +41,7 @@
#include <netinet/in.h>
#include <arpa/inet.h>
+#include "config.h"
#include "vsb.h"
#include "vrt.h"
Modified: trunk/varnish-cache/lib/libvcl/vcc_action.c
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_action.c 2008-08-07 09:56:42 UTC (rev 3071)
+++ trunk/varnish-cache/lib/libvcl/vcc_action.c 2008-08-11 07:47:24 UTC (rev 3072)
@@ -33,6 +33,7 @@
#include <stdio.h>
+#include "config.h"
#include "vsb.h"
#include "vcc_priv.h"
Modified: trunk/varnish-cache/lib/libvcl/vcc_backend.c
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_backend.c 2008-08-07 09:56:42 UTC (rev 3071)
+++ trunk/varnish-cache/lib/libvcl/vcc_backend.c 2008-08-11 07:47:24 UTC (rev 3072)
@@ -60,6 +60,7 @@
#include <stdarg.h>
#include <string.h>
+#include "config.h"
#include "vsb.h"
#include "vcc_priv.h"
Modified: trunk/varnish-cache/lib/libvcl/vcc_compile.c
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_compile.c 2008-08-07 09:56:42 UTC (rev 3071)
+++ trunk/varnish-cache/lib/libvcl/vcc_compile.c 2008-08-11 07:47:24 UTC (rev 3072)
@@ -73,6 +73,7 @@
#include <string.h>
#include <unistd.h>
+#include "config.h"
#include "vqueue.h"
#include "vsb.h"
Modified: trunk/varnish-cache/lib/libvcl/vcc_fixed_token.c
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_fixed_token.c 2008-08-07 09:56:42 UTC (rev 3071)
+++ trunk/varnish-cache/lib/libvcl/vcc_fixed_token.c 2008-08-11 07:47:24 UTC (rev 3072)
@@ -9,6 +9,7 @@
#include "config.h"
#include <stdio.h>
#include <ctype.h>
+#include "config.h"
#include "vcc_priv.h"
#include "vsb.h"
Modified: trunk/varnish-cache/lib/libvcl/vcc_obj.c
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_obj.c 2008-08-07 09:56:42 UTC (rev 3071)
+++ trunk/varnish-cache/lib/libvcl/vcc_obj.c 2008-08-11 07:47:24 UTC (rev 3072)
@@ -8,6 +8,7 @@
#include "config.h"
#include <stdio.h>
+#include "config.h"
#include "vcc_compile.h"
struct var vcc_vars[] = {
Modified: trunk/varnish-cache/lib/libvcl/vcc_parse.c
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_parse.c 2008-08-07 09:56:42 UTC (rev 3071)
+++ trunk/varnish-cache/lib/libvcl/vcc_parse.c 2008-08-11 07:47:24 UTC (rev 3072)
@@ -34,6 +34,7 @@
#include <stdio.h>
#include <string.h>
+#include "config.h"
#include "vsb.h"
#include "vcc_priv.h"
Modified: trunk/varnish-cache/lib/libvcl/vcc_string.c
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_string.c 2008-08-07 09:56:42 UTC (rev 3071)
+++ trunk/varnish-cache/lib/libvcl/vcc_string.c 2008-08-11 07:47:24 UTC (rev 3072)
@@ -34,6 +34,7 @@
#include <stdio.h>
#include <string.h>
+#include "config.h"
#include "vsb.h"
#include "vcc_priv.h"
Modified: trunk/varnish-cache/lib/libvcl/vcc_token.c
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_token.c 2008-08-07 09:56:42 UTC (rev 3071)
+++ trunk/varnish-cache/lib/libvcl/vcc_token.c 2008-08-11 07:47:24 UTC (rev 3072)
@@ -36,6 +36,7 @@
#include <stdlib.h>
#include <string.h>
+#include "config.h"
#include "vqueue.h"
#include "vsb.h"
Modified: trunk/varnish-cache/lib/libvcl/vcc_var.c
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_var.c 2008-08-07 09:56:42 UTC (rev 3071)
+++ trunk/varnish-cache/lib/libvcl/vcc_var.c 2008-08-11 07:47:24 UTC (rev 3072)
@@ -34,6 +34,7 @@
#include <stdio.h>
#include <string.h>
+#include "config.h"
#include "vsb.h"
#include "vcc_priv.h"
Modified: trunk/varnish-cache/lib/libvcl/vcc_xref.c
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_xref.c 2008-08-07 09:56:42 UTC (rev 3071)
+++ trunk/varnish-cache/lib/libvcl/vcc_xref.c 2008-08-11 07:47:24 UTC (rev 3072)
@@ -43,6 +43,7 @@
#include <stdio.h>
+#include "config.h"
#include "vsb.h"
#include "libvarnish.h"
More information about the varnish-commit
mailing list