From: phk Date: Mon, 11 Aug 2008 07:47:24 +0000 (+0000) Subject: Pull in all the #include from the Solaris patch X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dbb16e4fcd6c2dacd99ac85d4702594a5d9f48a1;p=varnish Pull in all the #include from the Solaris patch Submitted by: Theo Schlossnagle git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3072 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishadm/varnishadm.c b/varnish-cache/bin/varnishadm/varnishadm.c index 1031170b..1c8f8cef 100644 --- a/varnish-cache/bin/varnishadm/varnishadm.c +++ b/varnish-cache/bin/varnishadm/varnishadm.c @@ -36,6 +36,7 @@ #include #include +#include "config.h" #include "libvarnish.h" #include "vss.h" diff --git a/varnish-cache/bin/varnishd/cache_acceptor.c b/varnish-cache/bin/varnishd/cache_acceptor.c index 63289499..7eee94f6 100644 --- a/varnish-cache/bin/varnishd/cache_acceptor.c +++ b/varnish-cache/bin/varnishd/cache_acceptor.c @@ -46,6 +46,7 @@ #include #include +#include "config.h" #include "cli.h" #include "cli_priv.h" #include "shmlog.h" diff --git a/varnish-cache/bin/varnishd/cache_center.c b/varnish-cache/bin/varnishd/cache_center.c index 8b451ee0..2b1a1633 100644 --- a/varnish-cache/bin/varnishd/cache_center.c +++ b/varnish-cache/bin/varnishd/cache_center.c @@ -67,6 +67,7 @@ DOT acceptor -> start [style=bold,color=green,weight=4] #include #include +#include "config.h" #ifndef HAVE_SRANDOMDEV #include "compat/srandomdev.h" #endif diff --git a/varnish-cache/bin/varnishd/cache_http.c b/varnish-cache/bin/varnishd/cache_http.c index 3d67ad4e..6eb222f1 100644 --- a/varnish-cache/bin/varnishd/cache_http.c +++ b/varnish-cache/bin/varnishd/cache_http.c @@ -41,6 +41,7 @@ #include #include +#include "config.h" #include "shmlog.h" #include "vct.h" #include "cache.h" diff --git a/varnish-cache/bin/varnishd/cache_panic.c b/varnish-cache/bin/varnishd/cache_panic.c index fc6dc42c..4a33ae59 100644 --- a/varnish-cache/bin/varnishd/cache_panic.c +++ b/varnish-cache/bin/varnishd/cache_panic.c @@ -37,6 +37,7 @@ #include #include +#include "config.h" #include "cache.h" #include "cache_backend.h" #include "vcl.h" diff --git a/varnish-cache/bin/varnishd/mgt_child.c b/varnish-cache/bin/varnishd/mgt_child.c index 326c8511..7d957275 100644 --- a/varnish-cache/bin/varnishd/mgt_child.c +++ b/varnish-cache/bin/varnishd/mgt_child.c @@ -45,6 +45,7 @@ #include #include +#include "config.h" #ifndef HAVE_SETPROCTITLE #include "compat/setproctitle.h" #endif diff --git a/varnish-cache/bin/varnishd/mgt_cli.c b/varnish-cache/bin/varnishd/mgt_cli.c index b2a83599..9418a679 100644 --- a/varnish-cache/bin/varnishd/mgt_cli.c +++ b/varnish-cache/bin/varnishd/mgt_cli.c @@ -45,6 +45,7 @@ #include #include +#include "config.h" #ifndef HAVE_VASPRINTF #include "compat/vasprintf.h" #endif diff --git a/varnish-cache/bin/varnishd/mgt_param.c b/varnish-cache/bin/varnishd/mgt_param.c index 4e7615fd..936e3a07 100644 --- a/varnish-cache/bin/varnishd/mgt_param.c +++ b/varnish-cache/bin/varnishd/mgt_param.c @@ -43,6 +43,7 @@ #include #include +#include "config.h" #include "cli.h" #include "cli_priv.h" #include "cli_common.h" diff --git a/varnish-cache/bin/varnishd/mgt_vcc.c b/varnish-cache/bin/varnishd/mgt_vcc.c index 673fc8cb..47abf125 100644 --- a/varnish-cache/bin/varnishd/mgt_vcc.c +++ b/varnish-cache/bin/varnishd/mgt_vcc.c @@ -43,6 +43,7 @@ #include #include +#include "config.h" #ifndef HAVE_ASPRINTF #include "compat/asprintf.h" #endif diff --git a/varnish-cache/bin/varnishd/storage_file.c b/varnish-cache/bin/varnishd/storage_file.c index 542db337..33d3b9cb 100644 --- a/varnish-cache/bin/varnishd/storage_file.c +++ b/varnish-cache/bin/varnishd/storage_file.c @@ -38,6 +38,7 @@ #include #include +#include "config.h" #ifdef HAVE_SYS_MOUNT_H #include #endif diff --git a/varnish-cache/bin/varnishd/tcp.c b/varnish-cache/bin/varnishd/tcp.c index 9cedd8c3..5e8be682 100644 --- a/varnish-cache/bin/varnishd/tcp.c +++ b/varnish-cache/bin/varnishd/tcp.c @@ -45,6 +45,7 @@ #include #include +#include "config.h" #ifndef HAVE_STRLCPY #include "compat/strlcpy.h" #endif diff --git a/varnish-cache/bin/varnishhist/varnishhist.c b/varnish-cache/bin/varnishhist/varnishhist.c index 0831c29f..a84d581e 100644 --- a/varnish-cache/bin/varnishhist/varnishhist.c +++ b/varnish-cache/bin/varnishhist/varnishhist.c @@ -46,6 +46,7 @@ #include #include +#include "config.h" #include "libvarnish.h" #include "shmlog.h" #include "varnishapi.h" diff --git a/varnish-cache/bin/varnishlog/varnishlog.c b/varnish-cache/bin/varnishlog/varnishlog.c index ed41ef53..a308e69e 100644 --- a/varnish-cache/bin/varnishlog/varnishlog.c +++ b/varnish-cache/bin/varnishlog/varnishlog.c @@ -43,6 +43,7 @@ #include #include +#include "config.h" #ifndef HAVE_DAEMON #include "compat/daemon.h" #endif diff --git a/varnish-cache/bin/varnishncsa/varnishncsa.c b/varnish-cache/bin/varnishncsa/varnishncsa.c index f8e06f14..efaf61bc 100644 --- a/varnish-cache/bin/varnishncsa/varnishncsa.c +++ b/varnish-cache/bin/varnishncsa/varnishncsa.c @@ -71,6 +71,7 @@ #include #include +#include "config.h" #ifndef HAVE_DAEMON #include "compat/daemon.h" #endif diff --git a/varnish-cache/bin/varnishreplay/varnishreplay.c b/varnish-cache/bin/varnishreplay/varnishreplay.c index 7b55c937..23c80520 100644 --- a/varnish-cache/bin/varnishreplay/varnishreplay.c +++ b/varnish-cache/bin/varnishreplay/varnishreplay.c @@ -43,6 +43,7 @@ #include #include +#include "config.h" #include "vqueue.h" #include "libvarnish.h" diff --git a/varnish-cache/bin/varnishstat/varnishstat.c b/varnish-cache/bin/varnishstat/varnishstat.c index 4d5fb5b2..3e6151ca 100644 --- a/varnish-cache/bin/varnishstat/varnishstat.c +++ b/varnish-cache/bin/varnishstat/varnishstat.c @@ -46,6 +46,7 @@ #include #include +#include "config.h" #include "libvarnish.h" #include "shmlog.h" #include "varnishapi.h" diff --git a/varnish-cache/bin/varnishtop/varnishtop.c b/varnish-cache/bin/varnishtop/varnishtop.c index 734c811e..bef53a79 100644 --- a/varnish-cache/bin/varnishtop/varnishtop.c +++ b/varnish-cache/bin/varnishtop/varnishtop.c @@ -45,6 +45,7 @@ #include #include +#include "config.h" #include "vqueue.h" #include "vsb.h" diff --git a/varnish-cache/lib/libvarnish/argv.c b/varnish-cache/lib/libvarnish/argv.c index c95b65c7..83e1c323 100644 --- a/varnish-cache/lib/libvarnish/argv.c +++ b/varnish-cache/lib/libvarnish/argv.c @@ -45,6 +45,7 @@ #include #include +#include "config.h" #include "libvarnish.h" static int diff --git a/varnish-cache/lib/libvarnish/assert.c b/varnish-cache/lib/libvarnish/assert.c index 405548a7..bce3ddb4 100644 --- a/varnish-cache/lib/libvarnish/assert.c +++ b/varnish-cache/lib/libvarnish/assert.c @@ -37,6 +37,7 @@ #include #include +#include "config.h" #include "libvarnish.h" static void diff --git a/varnish-cache/lib/libvarnish/binary_heap.c b/varnish-cache/lib/libvarnish/binary_heap.c index 1b0a6322..ca4123bf 100644 --- a/varnish-cache/lib/libvarnish/binary_heap.c +++ b/varnish-cache/lib/libvarnish/binary_heap.c @@ -41,6 +41,7 @@ #include #include +#include "config.h" #include "binary_heap.h" #include "libvarnish.h" diff --git a/varnish-cache/lib/libvarnish/cli_common.c b/varnish-cache/lib/libvarnish/cli_common.c index a4fc9f94..e0097ca1 100644 --- a/varnish-cache/lib/libvarnish/cli_common.c +++ b/varnish-cache/lib/libvarnish/cli_common.c @@ -46,6 +46,7 @@ #include #include +#include "config.h" #include "vsb.h" #include "libvarnish.h" diff --git a/varnish-cache/lib/libvarnish/flopen.c b/varnish-cache/lib/libvarnish/flopen.c index 98eb95ae..ab873937 100644 --- a/varnish-cache/lib/libvarnish/flopen.c +++ b/varnish-cache/lib/libvarnish/flopen.c @@ -39,6 +39,7 @@ #include #include +#include "config.h" #include "flopen.h" int diff --git a/varnish-cache/lib/libvarnish/time.c b/varnish-cache/lib/libvarnish/time.c index 8061c8c8..03caa16c 100644 --- a/varnish-cache/lib/libvarnish/time.c +++ b/varnish-cache/lib/libvarnish/time.c @@ -54,6 +54,7 @@ #include #include +#include "config.h" #include "libvarnish.h" double diff --git a/varnish-cache/lib/libvarnish/version.c b/varnish-cache/lib/libvarnish/version.c index 7174987b..4a6631de 100644 --- a/varnish-cache/lib/libvarnish/version.c +++ b/varnish-cache/lib/libvarnish/version.c @@ -35,6 +35,7 @@ #include +#include "config.h" #include "libvarnish.h" void diff --git a/varnish-cache/lib/libvarnish/vpf.c b/varnish-cache/lib/libvarnish/vpf.c index 72e9bed9..1c1cf76f 100644 --- a/varnish-cache/lib/libvarnish/vpf.c +++ b/varnish-cache/lib/libvarnish/vpf.c @@ -41,6 +41,7 @@ #include #include +#include "config.h" #ifndef HAVE_STRLCPY #include "compat/strlcpy.h" #endif diff --git a/varnish-cache/lib/libvarnish/vss.c b/varnish-cache/lib/libvarnish/vss.c index a3de4d41..f24190c8 100644 --- a/varnish-cache/lib/libvarnish/vss.c +++ b/varnish-cache/lib/libvarnish/vss.c @@ -44,6 +44,7 @@ #include #include +#include "config.h" #ifndef HAVE_STRLCPY #include "compat/strlcpy.h" #endif diff --git a/varnish-cache/lib/libvarnish/vtmpfile.c b/varnish-cache/lib/libvarnish/vtmpfile.c index 3e251485..3cb69338 100644 --- a/varnish-cache/lib/libvarnish/vtmpfile.c +++ b/varnish-cache/lib/libvarnish/vtmpfile.c @@ -36,6 +36,7 @@ #include #include +#include "config.h" #include "libvarnish.h" int diff --git a/varnish-cache/lib/libvarnishapi/base64.c b/varnish-cache/lib/libvarnishapi/base64.c index 4506ba48..bd2d5361 100644 --- a/varnish-cache/lib/libvarnishapi/base64.c +++ b/varnish-cache/lib/libvarnishapi/base64.c @@ -10,6 +10,7 @@ #include #include +#include "config.h" #include "varnishapi.h" static const char *b64 = diff --git a/varnish-cache/lib/libvarnishapi/instance.c b/varnish-cache/lib/libvarnishapi/instance.c index b17a45c9..1587f1a4 100644 --- a/varnish-cache/lib/libvarnishapi/instance.c +++ b/varnish-cache/lib/libvarnishapi/instance.c @@ -34,6 +34,7 @@ #include #include +#include "config.h" #include "varnishapi.h" int diff --git a/varnish-cache/lib/libvarnishapi/shmlog.c b/varnish-cache/lib/libvarnishapi/shmlog.c index c0de0598..f9399860 100644 --- a/varnish-cache/lib/libvarnishapi/shmlog.c +++ b/varnish-cache/lib/libvarnishapi/shmlog.c @@ -45,6 +45,7 @@ #include #include +#include "config.h" #include "shmlog.h" #include "miniobj.h" #include "varnishapi.h" diff --git a/varnish-cache/lib/libvcl/vcc_acl.c b/varnish-cache/lib/libvcl/vcc_acl.c index 09bc6f45..1b079b1e 100644 --- a/varnish-cache/lib/libvcl/vcc_acl.c +++ b/varnish-cache/lib/libvcl/vcc_acl.c @@ -41,6 +41,7 @@ #include #include +#include "config.h" #include "vsb.h" #include "vrt.h" diff --git a/varnish-cache/lib/libvcl/vcc_action.c b/varnish-cache/lib/libvcl/vcc_action.c index 6df3fa0e..00d29e27 100644 --- a/varnish-cache/lib/libvcl/vcc_action.c +++ b/varnish-cache/lib/libvcl/vcc_action.c @@ -33,6 +33,7 @@ #include +#include "config.h" #include "vsb.h" #include "vcc_priv.h" diff --git a/varnish-cache/lib/libvcl/vcc_backend.c b/varnish-cache/lib/libvcl/vcc_backend.c index ad7eb262..9f43afa4 100644 --- a/varnish-cache/lib/libvcl/vcc_backend.c +++ b/varnish-cache/lib/libvcl/vcc_backend.c @@ -60,6 +60,7 @@ #include #include +#include "config.h" #include "vsb.h" #include "vcc_priv.h" diff --git a/varnish-cache/lib/libvcl/vcc_compile.c b/varnish-cache/lib/libvcl/vcc_compile.c index c388b5b7..d7a5e0ab 100644 --- a/varnish-cache/lib/libvcl/vcc_compile.c +++ b/varnish-cache/lib/libvcl/vcc_compile.c @@ -73,6 +73,7 @@ #include #include +#include "config.h" #include "vqueue.h" #include "vsb.h" diff --git a/varnish-cache/lib/libvcl/vcc_fixed_token.c b/varnish-cache/lib/libvcl/vcc_fixed_token.c index 5ab48e4d..11faab76 100644 --- a/varnish-cache/lib/libvcl/vcc_fixed_token.c +++ b/varnish-cache/lib/libvcl/vcc_fixed_token.c @@ -9,6 +9,7 @@ #include "config.h" #include #include +#include "config.h" #include "vcc_priv.h" #include "vsb.h" diff --git a/varnish-cache/lib/libvcl/vcc_obj.c b/varnish-cache/lib/libvcl/vcc_obj.c index 13449bed..6cf25cfa 100644 --- a/varnish-cache/lib/libvcl/vcc_obj.c +++ b/varnish-cache/lib/libvcl/vcc_obj.c @@ -8,6 +8,7 @@ #include "config.h" #include +#include "config.h" #include "vcc_compile.h" struct var vcc_vars[] = { diff --git a/varnish-cache/lib/libvcl/vcc_parse.c b/varnish-cache/lib/libvcl/vcc_parse.c index c3c88f25..848cfaae 100644 --- a/varnish-cache/lib/libvcl/vcc_parse.c +++ b/varnish-cache/lib/libvcl/vcc_parse.c @@ -34,6 +34,7 @@ #include #include +#include "config.h" #include "vsb.h" #include "vcc_priv.h" diff --git a/varnish-cache/lib/libvcl/vcc_string.c b/varnish-cache/lib/libvcl/vcc_string.c index d7614977..005cbb8b 100644 --- a/varnish-cache/lib/libvcl/vcc_string.c +++ b/varnish-cache/lib/libvcl/vcc_string.c @@ -34,6 +34,7 @@ #include #include +#include "config.h" #include "vsb.h" #include "vcc_priv.h" diff --git a/varnish-cache/lib/libvcl/vcc_token.c b/varnish-cache/lib/libvcl/vcc_token.c index e9ac739c..a6a72f8c 100644 --- a/varnish-cache/lib/libvcl/vcc_token.c +++ b/varnish-cache/lib/libvcl/vcc_token.c @@ -36,6 +36,7 @@ #include #include +#include "config.h" #include "vqueue.h" #include "vsb.h" diff --git a/varnish-cache/lib/libvcl/vcc_var.c b/varnish-cache/lib/libvcl/vcc_var.c index 66a4f211..02d9c644 100644 --- a/varnish-cache/lib/libvcl/vcc_var.c +++ b/varnish-cache/lib/libvcl/vcc_var.c @@ -34,6 +34,7 @@ #include #include +#include "config.h" #include "vsb.h" #include "vcc_priv.h" diff --git a/varnish-cache/lib/libvcl/vcc_xref.c b/varnish-cache/lib/libvcl/vcc_xref.c index 8ce7e875..5e8145e7 100644 --- a/varnish-cache/lib/libvcl/vcc_xref.c +++ b/varnish-cache/lib/libvcl/vcc_xref.c @@ -43,6 +43,7 @@ #include +#include "config.h" #include "vsb.h" #include "libvarnish.h"