r2455 - 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/libvarnishcompat lib/libvcl
des at projects.linpro.no
des at projects.linpro.no
Wed Feb 13 14:55:39 CET 2008
Author: des
Date: 2008-02-13 14:55:39 +0100 (Wed, 13 Feb 2008)
New Revision: 2455
Modified:
trunk/varnish-cache/bin/varnishadm/Makefile.am
trunk/varnish-cache/bin/varnishadm/varnishadm.c
trunk/varnish-cache/bin/varnishd/Makefile.am
trunk/varnish-cache/bin/varnishd/cache_acceptor.c
trunk/varnish-cache/bin/varnishd/cache_acceptor_epoll.c
trunk/varnish-cache/bin/varnishd/cache_acceptor_kqueue.c
trunk/varnish-cache/bin/varnishd/cache_acceptor_poll.c
trunk/varnish-cache/bin/varnishd/cache_backend.c
trunk/varnish-cache/bin/varnishd/cache_ban.c
trunk/varnish-cache/bin/varnishd/cache_center.c
trunk/varnish-cache/bin/varnishd/cache_cli.c
trunk/varnish-cache/bin/varnishd/cache_dir_random.c
trunk/varnish-cache/bin/varnishd/cache_dir_simple.c
trunk/varnish-cache/bin/varnishd/cache_expire.c
trunk/varnish-cache/bin/varnishd/cache_fetch.c
trunk/varnish-cache/bin/varnishd/cache_hash.c
trunk/varnish-cache/bin/varnishd/cache_http.c
trunk/varnish-cache/bin/varnishd/cache_httpconn.c
trunk/varnish-cache/bin/varnishd/cache_main.c
trunk/varnish-cache/bin/varnishd/cache_panic.c
trunk/varnish-cache/bin/varnishd/cache_pipe.c
trunk/varnish-cache/bin/varnishd/cache_pool.c
trunk/varnish-cache/bin/varnishd/cache_response.c
trunk/varnish-cache/bin/varnishd/cache_session.c
trunk/varnish-cache/bin/varnishd/cache_synthetic.c
trunk/varnish-cache/bin/varnishd/cache_vary.c
trunk/varnish-cache/bin/varnishd/cache_vcl.c
trunk/varnish-cache/bin/varnishd/cache_vrt.c
trunk/varnish-cache/bin/varnishd/cache_vrt_acl.c
trunk/varnish-cache/bin/varnishd/cache_vrt_esi.c
trunk/varnish-cache/bin/varnishd/cache_vrt_re.c
trunk/varnish-cache/bin/varnishd/cache_ws.c
trunk/varnish-cache/bin/varnishd/hash_classic.c
trunk/varnish-cache/bin/varnishd/hash_simple_list.c
trunk/varnish-cache/bin/varnishd/mgt_child.c
trunk/varnish-cache/bin/varnishd/mgt_cli.c
trunk/varnish-cache/bin/varnishd/mgt_event.c
trunk/varnish-cache/bin/varnishd/mgt_param.c
trunk/varnish-cache/bin/varnishd/mgt_vcc.c
trunk/varnish-cache/bin/varnishd/rfc2616.c
trunk/varnish-cache/bin/varnishd/shmlog.c
trunk/varnish-cache/bin/varnishd/stevedore.c
trunk/varnish-cache/bin/varnishd/storage_file.c
trunk/varnish-cache/bin/varnishd/storage_malloc.c
trunk/varnish-cache/bin/varnishd/tcp.c
trunk/varnish-cache/bin/varnishd/varnishd.c
trunk/varnish-cache/bin/varnishhist/Makefile.am
trunk/varnish-cache/bin/varnishhist/varnishhist.c
trunk/varnish-cache/bin/varnishlog/Makefile.am
trunk/varnish-cache/bin/varnishlog/varnishlog.c
trunk/varnish-cache/bin/varnishncsa/Makefile.am
trunk/varnish-cache/bin/varnishncsa/varnishncsa.c
trunk/varnish-cache/bin/varnishreplay/Makefile.am
trunk/varnish-cache/bin/varnishreplay/varnishreplay.c
trunk/varnish-cache/bin/varnishstat/Makefile.am
trunk/varnish-cache/bin/varnishstat/varnishstat.c
trunk/varnish-cache/bin/varnishtop/Makefile.am
trunk/varnish-cache/bin/varnishtop/varnishtop.c
trunk/varnish-cache/lib/libvarnish/Makefile.am
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.c
trunk/varnish-cache/lib/libvarnish/cli_common.c
trunk/varnish-cache/lib/libvarnish/crc32.c
trunk/varnish-cache/lib/libvarnish/flopen.c
trunk/varnish-cache/lib/libvarnish/num.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/vsb.c
trunk/varnish-cache/lib/libvarnish/vss.c
trunk/varnish-cache/lib/libvarnish/vtmpfile.c
trunk/varnish-cache/lib/libvarnishapi/Makefile.am
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/libvarnishcompat/Makefile.am
trunk/varnish-cache/lib/libvarnishcompat/asprintf.c
trunk/varnish-cache/lib/libvarnishcompat/daemon.c
trunk/varnish-cache/lib/libvarnishcompat/setproctitle.c
trunk/varnish-cache/lib/libvarnishcompat/srandomdev.c
trunk/varnish-cache/lib/libvarnishcompat/strlcat.c
trunk/varnish-cache/lib/libvarnishcompat/strlcpy.c
trunk/varnish-cache/lib/libvarnishcompat/strndup.c
trunk/varnish-cache/lib/libvarnishcompat/vasprintf.c
trunk/varnish-cache/lib/libvarnishcompat/vis.c
trunk/varnish-cache/lib/libvcl/Makefile.am
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_gen_obj.tcl
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:
Use #include "config.h" instead of -include config.h
Modified: trunk/varnish-cache/bin/varnishadm/Makefile.am
===================================================================
--- trunk/varnish-cache/bin/varnishadm/Makefile.am 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishadm/Makefile.am 2008-02-13 13:55:39 UTC (rev 2455)
@@ -8,8 +8,6 @@
varnishadm_SOURCES = \
varnishadm.c
-
-varnishadm_CFLAGS = -include config.h
varnishadm_LDADD = \
$(top_builddir)/lib/libvarnish/libvarnish.la \
Modified: trunk/varnish-cache/bin/varnishadm/varnishadm.c
===================================================================
--- trunk/varnish-cache/bin/varnishadm/varnishadm.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishadm/varnishadm.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -29,6 +29,8 @@
* $Id$
*/
+#include "config.h"
+
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
Modified: trunk/varnish-cache/bin/varnishd/Makefile.am
===================================================================
--- trunk/varnish-cache/bin/varnishd/Makefile.am 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishd/Makefile.am 2008-02-13 13:55:39 UTC (rev 2455)
@@ -64,7 +64,7 @@
steps.h \
stevedore.h
-varnishd_CFLAGS = -include config.h \
+varnishd_CFLAGS = \
-DVARNISH_STATE_DIR='"${VARNISH_STATE_DIR}"'
varnishd_LDFLAGS = -export-dynamic
Modified: trunk/varnish-cache/bin/varnishd/cache_acceptor.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_acceptor.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishd/cache_acceptor.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -33,6 +33,8 @@
* write the session pointer to a pipe which the event engine monitors.
*/
+#include "config.h"
+
#include <stdio.h>
#include <errno.h>
#include <poll.h>
Modified: trunk/varnish-cache/bin/varnishd/cache_acceptor_epoll.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_acceptor_epoll.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishd/cache_acceptor_epoll.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -31,6 +31,8 @@
* write the session pointer to a pipe which the event engine monitors.
*/
+#include "config.h"
+
#if defined(HAVE_EPOLL_CTL)
#include <stdio.h>
Modified: trunk/varnish-cache/bin/varnishd/cache_acceptor_kqueue.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_acceptor_kqueue.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishd/cache_acceptor_kqueue.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -33,6 +33,8 @@
* write the session pointer to a pipe which the event engine monitors.
*/
+#include "config.h"
+
#if defined(HAVE_KQUEUE)
#include <stdio.h>
Modified: trunk/varnish-cache/bin/varnishd/cache_acceptor_poll.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_acceptor_poll.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishd/cache_acceptor_poll.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -30,6 +30,8 @@
*
*/
+#include "config.h"
+
#if defined(HAVE_POLL)
#include <stdio.h>
Modified: trunk/varnish-cache/bin/varnishd/cache_backend.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_backend.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishd/cache_backend.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -66,6 +66,8 @@
*
*/
+#include "config.h"
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Modified: trunk/varnish-cache/bin/varnishd/cache_ban.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_ban.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishd/cache_ban.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -31,6 +31,8 @@
* Ban processing
*/
+#include "config.h"
+
#include <sys/types.h>
#include <stdlib.h>
Modified: trunk/varnish-cache/bin/varnishd/cache_center.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_center.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishd/cache_center.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -56,6 +56,8 @@
DOT acceptor -> start [style=bold,color=green,weight=4]
*/
+#include "config.h"
+
#include <stdio.h>
#include <errno.h>
#include <math.h>
Modified: trunk/varnish-cache/bin/varnishd/cache_cli.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_cli.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishd/cache_cli.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -29,6 +29,8 @@
* $Id$
*/
+#include "config.h"
+
#include <stdio.h>
#include <errno.h>
#include <stdlib.h>
Modified: trunk/varnish-cache/bin/varnishd/cache_dir_random.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_dir_random.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishd/cache_dir_random.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -30,6 +30,8 @@
*
*/
+#include "config.h"
+
#include <sys/types.h>
#include <sys/socket.h>
Modified: trunk/varnish-cache/bin/varnishd/cache_dir_simple.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_dir_simple.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishd/cache_dir_simple.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -30,6 +30,8 @@
*
*/
+#include "config.h"
+
#include <sys/types.h>
#include <sys/socket.h>
Modified: trunk/varnish-cache/bin/varnishd/cache_expire.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_expire.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishd/cache_expire.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -38,6 +38,8 @@
* XXX: are ready.
*/
+#include "config.h"
+
#include <unistd.h>
#include <stdio.h>
#include <string.h>
Modified: trunk/varnish-cache/bin/varnishd/cache_fetch.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_fetch.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishd/cache_fetch.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -29,6 +29,8 @@
* $Id$
*/
+#include "config.h"
+
#include <stdio.h>
#include <inttypes.h>
#include <string.h>
Modified: trunk/varnish-cache/bin/varnishd/cache_hash.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_hash.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishd/cache_hash.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -52,6 +52,8 @@
* not busy only once.
*/
+#include "config.h"
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Modified: trunk/varnish-cache/bin/varnishd/cache_http.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_http.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishd/cache_http.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -31,6 +31,8 @@
* HTTP request storage and manipulation
*/
+#include "config.h"
+
#include <ctype.h>
#include <errno.h>
#include <unistd.h>
Modified: trunk/varnish-cache/bin/varnishd/cache_httpconn.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_httpconn.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishd/cache_httpconn.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -31,6 +31,8 @@
* HTTP protocol requests
*/
+#include "config.h"
+
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
Modified: trunk/varnish-cache/bin/varnishd/cache_main.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_main.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishd/cache_main.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -29,6 +29,8 @@
* $Id$
*/
+#include "config.h"
+
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
Modified: trunk/varnish-cache/bin/varnishd/cache_panic.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_panic.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishd/cache_panic.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -29,6 +29,8 @@
* $Id$
*/
+#include "config.h"
+
#include <signal.h>
#include <stdarg.h>
#include <stdio.h>
Modified: trunk/varnish-cache/bin/varnishd/cache_pipe.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_pipe.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishd/cache_pipe.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -31,6 +31,8 @@
* XXX: charge bytes to srcaddr
*/
+#include "config.h"
+
#include <stdio.h>
#include <unistd.h>
#include <string.h>
Modified: trunk/varnish-cache/bin/varnishd/cache_pool.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_pool.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishd/cache_pool.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -31,6 +31,8 @@
* XXX: automatic thread-pool size adaptation.
*/
+#include "config.h"
+
#include <sys/types.h>
#include <sys/uio.h>
Modified: trunk/varnish-cache/bin/varnishd/cache_response.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_response.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishd/cache_response.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -29,6 +29,8 @@
* $Id$
*/
+#include "config.h"
+
#include <sys/types.h>
#include <sys/time.h>
Modified: trunk/varnish-cache/bin/varnishd/cache_session.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_session.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishd/cache_session.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -48,6 +48,8 @@
* XXX: we still have to do the source-addr lookup.
*/
+#include "config.h"
+
#include <stdlib.h>
#include <string.h>
#include <math.h>
Modified: trunk/varnish-cache/bin/varnishd/cache_synthetic.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_synthetic.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishd/cache_synthetic.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -28,6 +28,8 @@
* $Id$
*/
+#include "config.h"
+
#include <sys/types.h>
#include <sys/time.h>
Modified: trunk/varnish-cache/bin/varnishd/cache_vary.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_vary.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishd/cache_vary.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -54,6 +54,8 @@
* '\0'
*/
+#include "config.h"
+
#include <ctype.h>
#include <string.h>
#include <stdlib.h>
Modified: trunk/varnish-cache/bin/varnishd/cache_vcl.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_vcl.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishd/cache_vcl.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -33,6 +33,8 @@
* The interface *from* the compiled VCL code is in cache_vrt.c.
*/
+#include "config.h"
+
#include <stdio.h>
#include <unistd.h>
#include <string.h>
Modified: trunk/varnish-cache/bin/varnishd/cache_vrt.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_vrt.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishd/cache_vrt.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -31,6 +31,8 @@
* Runtime support for compiled VCL programs
*/
+#include "config.h"
+
#include <sys/types.h>
#include <sys/socket.h>
Modified: trunk/varnish-cache/bin/varnishd/cache_vrt_acl.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_vrt_acl.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishd/cache_vrt_acl.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -34,6 +34,8 @@
* XXX: a refresh facility.
*/
+#include "config.h"
+
#include <sys/types.h>
#include <stdio.h>
Modified: trunk/varnish-cache/bin/varnishd/cache_vrt_esi.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_vrt_esi.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishd/cache_vrt_esi.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -40,6 +40,8 @@
* hanging, esi:include
*/
+#include "config.h"
+
#include <stdio.h>
#include <unistd.h>
#include <ctype.h>
Modified: trunk/varnish-cache/bin/varnishd/cache_vrt_re.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_vrt_re.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishd/cache_vrt_re.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -31,6 +31,8 @@
* Runtime support for compiled VCL programs, regexps
*/
+#include "config.h"
+
#include <sys/types.h>
#include <stdio.h>
Modified: trunk/varnish-cache/bin/varnishd/cache_ws.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_ws.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishd/cache_ws.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -30,6 +30,8 @@
*
*/
+#include "config.h"
+
#include <sys/types.h>
#include <sys/uio.h>
Modified: trunk/varnish-cache/bin/varnishd/hash_classic.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/hash_classic.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishd/hash_classic.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -31,6 +31,8 @@
* A classic bucketed hash
*/
+#include "config.h"
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Modified: trunk/varnish-cache/bin/varnishd/hash_simple_list.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/hash_simple_list.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishd/hash_simple_list.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -31,6 +31,8 @@
* This is the reference hash(/lookup) implementation
*/
+#include "config.h"
+
#include <sys/types.h>
#include <stdio.h>
Modified: trunk/varnish-cache/bin/varnishd/mgt_child.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/mgt_child.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishd/mgt_child.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -31,6 +31,8 @@
* The mechanics of handling the child process
*/
+#include "config.h"
+
#include <unistd.h>
#include <stdio.h>
#include <string.h>
Modified: trunk/varnish-cache/bin/varnishd/mgt_cli.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/mgt_cli.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishd/mgt_cli.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -31,6 +31,8 @@
* The management process' CLI handling
*/
+#include "config.h"
+
#include <sys/types.h>
#include <stdarg.h>
Modified: trunk/varnish-cache/bin/varnishd/mgt_event.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/mgt_event.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishd/mgt_event.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -29,6 +29,8 @@
* $Id$
*/
+#include "config.h"
+
#include <stdio.h>
#include <errno.h>
#include <poll.h>
Modified: trunk/varnish-cache/bin/varnishd/mgt_param.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/mgt_param.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishd/mgt_param.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -29,6 +29,8 @@
* $Id$
*/
+#include "config.h"
+
#include <sys/types.h>
#include <sys/stat.h>
Modified: trunk/varnish-cache/bin/varnishd/mgt_vcc.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/mgt_vcc.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishd/mgt_vcc.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -31,6 +31,8 @@
* VCL compiler stuff
*/
+#include "config.h"
+
#include <sys/types.h>
#include <sys/wait.h>
Modified: trunk/varnish-cache/bin/varnishd/rfc2616.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/rfc2616.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishd/rfc2616.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -29,6 +29,8 @@
* $Id$
*/
+#include "config.h"
+
#include <sys/types.h>
#include <stdio.h>
Modified: trunk/varnish-cache/bin/varnishd/shmlog.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/shmlog.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishd/shmlog.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -29,6 +29,8 @@
* $Id$
*/
+#include "config.h"
+
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
Modified: trunk/varnish-cache/bin/varnishd/stevedore.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/stevedore.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishd/stevedore.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -28,6 +28,8 @@
* $Id$
*/
+#include "config.h"
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Modified: trunk/varnish-cache/bin/varnishd/storage_file.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/storage_file.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishd/storage_file.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -31,6 +31,8 @@
* Storage method based on mmap'ed file
*/
+#include "config.h"
+
#include <sys/param.h>
#include <sys/mman.h>
#include <sys/socket.h>
Modified: trunk/varnish-cache/bin/varnishd/storage_malloc.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/storage_malloc.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishd/storage_malloc.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -31,6 +31,8 @@
* Storage method based on malloc(3)
*/
+#include "config.h"
+
#include <sys/types.h>
#include <stdlib.h>
Modified: trunk/varnish-cache/bin/varnishd/tcp.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/tcp.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishd/tcp.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -29,6 +29,8 @@
* $Id$
*/
+#include "config.h"
+
#include <sys/types.h>
#include <sys/socket.h>
Modified: trunk/varnish-cache/bin/varnishd/varnishd.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/varnishd.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishd/varnishd.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -31,6 +31,8 @@
* The management process and CLI handling
*/
+#include "config.h"
+
#include <sys/stat.h>
#include <ctype.h>
Modified: trunk/varnish-cache/bin/varnishhist/Makefile.am
===================================================================
--- trunk/varnish-cache/bin/varnishhist/Makefile.am 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishhist/Makefile.am 2008-02-13 13:55:39 UTC (rev 2455)
@@ -8,8 +8,6 @@
varnishhist_SOURCES = varnishhist.c
-varnishhist_CFLAGS = -include config.h
-
varnishhist_LDADD = \
$(top_builddir)/lib/libvarnish/libvarnish.la \
$(top_builddir)/lib/libvarnishcompat/libvarnishcompat.la \
Modified: trunk/varnish-cache/bin/varnishhist/varnishhist.c
===================================================================
--- trunk/varnish-cache/bin/varnishhist/varnishhist.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishhist/varnishhist.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -32,6 +32,8 @@
* Log tailer for Varnish
*/
+#include "config.h"
+
#include <curses.h>
#include <errno.h>
#include <limits.h>
Modified: trunk/varnish-cache/bin/varnishlog/Makefile.am
===================================================================
--- trunk/varnish-cache/bin/varnishlog/Makefile.am 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishlog/Makefile.am 2008-02-13 13:55:39 UTC (rev 2455)
@@ -8,8 +8,6 @@
varnishlog_SOURCES = varnishlog.c
-varnishlog_CFLAGS = -include config.h
-
varnishlog_LDADD = \
$(top_builddir)/lib/libvarnish/libvarnish.la \
$(top_builddir)/lib/libvarnishcompat/libvarnishcompat.la \
Modified: trunk/varnish-cache/bin/varnishlog/varnishlog.c
===================================================================
--- trunk/varnish-cache/bin/varnishlog/varnishlog.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishlog/varnishlog.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -31,6 +31,8 @@
* Log tailer for Varnish
*/
+#include "config.h"
+
#include <errno.h>
#include <fcntl.h>
#include <regex.h>
Modified: trunk/varnish-cache/bin/varnishncsa/Makefile.am
===================================================================
--- trunk/varnish-cache/bin/varnishncsa/Makefile.am 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishncsa/Makefile.am 2008-02-13 13:55:39 UTC (rev 2455)
@@ -8,8 +8,6 @@
varnishncsa_SOURCES = varnishncsa.c
-varnishncsa_CFLAGS = -include config.h
-
varnishncsa_LDADD = \
$(top_builddir)/lib/libvarnish/libvarnish.la \
$(top_builddir)/lib/libvarnishcompat/libvarnishcompat.la \
Modified: trunk/varnish-cache/bin/varnishncsa/varnishncsa.c
===================================================================
--- trunk/varnish-cache/bin/varnishncsa/varnishncsa.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishncsa/varnishncsa.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -59,6 +59,8 @@
* - Maybe rotate/compress log
*/
+#include "config.h"
+
#include <ctype.h>
#include <errno.h>
#include <signal.h>
Modified: trunk/varnish-cache/bin/varnishreplay/Makefile.am
===================================================================
--- trunk/varnish-cache/bin/varnishreplay/Makefile.am 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishreplay/Makefile.am 2008-02-13 13:55:39 UTC (rev 2455)
@@ -8,8 +8,6 @@
varnishreplay_SOURCES = \
varnishreplay.c
-
-varnishreplay_CFLAGS = -include config.h
varnishreplay_LDADD = \
$(top_builddir)/lib/libvarnish/libvarnish.la \
Modified: trunk/varnish-cache/bin/varnishreplay/varnishreplay.c
===================================================================
--- trunk/varnish-cache/bin/varnishreplay/varnishreplay.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishreplay/varnishreplay.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -28,6 +28,8 @@
* $Id$
*/
+#include "config.h"
+
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
Modified: trunk/varnish-cache/bin/varnishstat/Makefile.am
===================================================================
--- trunk/varnish-cache/bin/varnishstat/Makefile.am 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishstat/Makefile.am 2008-02-13 13:55:39 UTC (rev 2455)
@@ -8,8 +8,6 @@
varnishstat_SOURCES = varnishstat.c
-varnishstat_CFLAGS = -include config.h
-
varnishstat_LDADD = \
$(top_builddir)/lib/libvarnish/libvarnish.la \
$(top_builddir)/lib/libvarnishcompat/libvarnishcompat.la \
Modified: trunk/varnish-cache/bin/varnishstat/varnishstat.c
===================================================================
--- trunk/varnish-cache/bin/varnishstat/varnishstat.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishstat/varnishstat.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -32,6 +32,8 @@
* Log tailer for Varnish
*/
+#include "config.h"
+
#include <sys/time.h>
#include <curses.h>
Modified: trunk/varnish-cache/bin/varnishtop/Makefile.am
===================================================================
--- trunk/varnish-cache/bin/varnishtop/Makefile.am 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishtop/Makefile.am 2008-02-13 13:55:39 UTC (rev 2455)
@@ -8,8 +8,6 @@
varnishtop_SOURCES = varnishtop.c
-varnishtop_CFLAGS = -include config.h
-
varnishtop_LDADD = \
$(top_builddir)/lib/libvarnish/libvarnish.la \
$(top_builddir)/lib/libvarnishcompat/libvarnishcompat.la \
Modified: trunk/varnish-cache/bin/varnishtop/varnishtop.c
===================================================================
--- trunk/varnish-cache/bin/varnishtop/varnishtop.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/bin/varnishtop/varnishtop.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -32,6 +32,8 @@
* Log tailer for Varnish
*/
+#include "config.h"
+
#include <ctype.h>
#include <curses.h>
#include <errno.h>
Modified: trunk/varnish-cache/lib/libvarnish/Makefile.am
===================================================================
--- trunk/varnish-cache/lib/libvarnish/Makefile.am 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/lib/libvarnish/Makefile.am 2008-02-13 13:55:39 UTC (rev 2455)
@@ -20,8 +20,6 @@
vss.c \
vtmpfile.c
-libvarnish_la_CFLAGS = -include config.h
-
libvarnish_la_LIBADD = ${RT_LIBS} ${NET_LIBS}
TESTS = num_c_test
Modified: trunk/varnish-cache/lib/libvarnish/argv.c
===================================================================
--- trunk/varnish-cache/lib/libvarnish/argv.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/lib/libvarnish/argv.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -38,6 +38,8 @@
*
*/
+#include "config.h"
+
#include <ctype.h>
#include <stdlib.h>
#include <stdio.h>
Modified: trunk/varnish-cache/lib/libvarnish/assert.c
===================================================================
--- trunk/varnish-cache/lib/libvarnish/assert.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/lib/libvarnish/assert.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -29,6 +29,8 @@
* $Id$
*/
+#include "config.h"
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Modified: trunk/varnish-cache/lib/libvarnish/binary_heap.c
===================================================================
--- trunk/varnish-cache/lib/libvarnish/binary_heap.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/lib/libvarnish/binary_heap.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -36,6 +36,8 @@
* XXX: the array is not scaled back when items are deleted.
*/
+#include "config.h"
+
#include <unistd.h>
#include <stdlib.h>
Modified: trunk/varnish-cache/lib/libvarnish/cli.c
===================================================================
--- trunk/varnish-cache/lib/libvarnish/cli.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/lib/libvarnish/cli.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -31,6 +31,8 @@
* Stuff for handling the CLI protocol
*/
+#include "config.h"
+
#include <ctype.h>
#include <string.h>
#include <stdio.h>
Modified: trunk/varnish-cache/lib/libvarnish/cli_common.c
===================================================================
--- trunk/varnish-cache/lib/libvarnish/cli_common.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/lib/libvarnish/cli_common.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -29,6 +29,8 @@
* $Id$
*/
+#include "config.h"
+
#include <sys/types.h>
#include <sys/uio.h>
Modified: trunk/varnish-cache/lib/libvarnish/crc32.c
===================================================================
--- trunk/varnish-cache/lib/libvarnish/crc32.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/lib/libvarnish/crc32.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -31,6 +31,8 @@
* This CRC32 implementation is in the public domain.
*/
+#include "config.h"
+
#include "libvarnish.h"
/*--------------------------------------------------------------------*/
Modified: trunk/varnish-cache/lib/libvarnish/flopen.c
===================================================================
--- trunk/varnish-cache/lib/libvarnish/flopen.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/lib/libvarnish/flopen.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -29,6 +29,8 @@
* $FreeBSD: src/lib/libutil/flopen.c,v 1.7 2007/05/23 12:09:33 des Exp $
*/
+#include "config.h"
+
#include <sys/file.h>
#include <sys/stat.h>
Modified: trunk/varnish-cache/lib/libvarnish/num.c
===================================================================
--- trunk/varnish-cache/lib/libvarnish/num.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/lib/libvarnish/num.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -30,6 +30,8 @@
* Deal with numbers with data storage suffix scaling
*/
+#include "config.h"
+
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
Modified: trunk/varnish-cache/lib/libvarnish/time.c
===================================================================
--- trunk/varnish-cache/lib/libvarnish/time.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/lib/libvarnish/time.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -46,6 +46,8 @@
*
*/
+#include "config.h"
+
#include <sys/time.h>
#include <stdio.h>
Modified: trunk/varnish-cache/lib/libvarnish/version.c
===================================================================
--- trunk/varnish-cache/lib/libvarnish/version.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/lib/libvarnish/version.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -31,6 +31,8 @@
* Display a standardized version message.
*/
+#include "config.h"
+
#include <stdio.h>
#include "libvarnish.h"
Modified: trunk/varnish-cache/lib/libvarnish/vpf.c
===================================================================
--- trunk/varnish-cache/lib/libvarnish/vpf.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/lib/libvarnish/vpf.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -28,6 +28,8 @@
* $FreeBSD: src/lib/libutil/pidfile.c,v 1.5 2007/05/11 11:10:05 des Exp $
*/
+#include "config.h"
+
#include <sys/param.h>
#include <sys/file.h>
#include <sys/stat.h>
Modified: trunk/varnish-cache/lib/libvarnish/vsb.c
===================================================================
--- trunk/varnish-cache/lib/libvarnish/vsb.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/lib/libvarnish/vsb.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -29,6 +29,8 @@
* $FreeBSD: src/sys/kern/subr_sbuf.c,v 1.30 2005/12/23 11:49:53 phk Exp $
*/
+#include "config.h"
+
#include <ctype.h>
#include <stdarg.h>
#include <stdio.h>
Modified: trunk/varnish-cache/lib/libvarnish/vss.c
===================================================================
--- trunk/varnish-cache/lib/libvarnish/vss.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/lib/libvarnish/vss.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -30,6 +30,8 @@
* $Id$
*/
+#include "config.h"
+
#include <sys/types.h>
#include <sys/socket.h>
Modified: trunk/varnish-cache/lib/libvarnish/vtmpfile.c
===================================================================
--- trunk/varnish-cache/lib/libvarnish/vtmpfile.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/lib/libvarnish/vtmpfile.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -29,6 +29,8 @@
* $Id$
*/
+#include "config.h"
+
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
Modified: trunk/varnish-cache/lib/libvarnishapi/Makefile.am
===================================================================
--- trunk/varnish-cache/lib/libvarnishapi/Makefile.am 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/lib/libvarnishapi/Makefile.am 2008-02-13 13:55:39 UTC (rev 2455)
@@ -9,5 +9,5 @@
instance.c \
shmlog.c
-libvarnishapi_la_CFLAGS = -include config.h \
+libvarnishapi_la_CFLAGS = \
-DVARNISH_STATE_DIR='"${VARNISH_STATE_DIR}"'
Modified: trunk/varnish-cache/lib/libvarnishapi/base64.c
===================================================================
--- trunk/varnish-cache/lib/libvarnishapi/base64.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/lib/libvarnishapi/base64.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -6,6 +6,8 @@
* $Id$
*/
+#include "config.h"
+
#include <sys/types.h>
#include <stdint.h>
#include "varnishapi.h"
Modified: trunk/varnish-cache/lib/libvarnishapi/instance.c
===================================================================
--- trunk/varnish-cache/lib/libvarnishapi/instance.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/lib/libvarnishapi/instance.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -28,6 +28,8 @@
* $Id$
*/
+#include "config.h"
+
#include <errno.h>
#include <stdio.h>
#include <unistd.h>
Modified: trunk/varnish-cache/lib/libvarnishapi/shmlog.c
===================================================================
--- trunk/varnish-cache/lib/libvarnishapi/shmlog.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/lib/libvarnishapi/shmlog.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -29,6 +29,8 @@
* $Id$
*/
+#include "config.h"
+
#include <sys/types.h>
#include <sys/mman.h>
Modified: trunk/varnish-cache/lib/libvarnishcompat/Makefile.am
===================================================================
--- trunk/varnish-cache/lib/libvarnishcompat/Makefile.am 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/lib/libvarnishcompat/Makefile.am 2008-02-13 13:55:39 UTC (rev 2455)
@@ -14,5 +14,3 @@
strlcpy.c \
strndup.c \
vis.c
-
-libvarnishcompat_la_CFLAGS = -include config.h
Modified: trunk/varnish-cache/lib/libvarnishcompat/asprintf.c
===================================================================
--- trunk/varnish-cache/lib/libvarnishcompat/asprintf.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/lib/libvarnishcompat/asprintf.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -30,6 +30,8 @@
*
*/
+#include "config.h"
+
#ifndef HAVE_ASPRINTF
#include <stdarg.h>
Modified: trunk/varnish-cache/lib/libvarnishcompat/daemon.c
===================================================================
--- trunk/varnish-cache/lib/libvarnishcompat/daemon.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/lib/libvarnishcompat/daemon.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -31,6 +31,8 @@
* $FreeBSD: src/lib/libc/gen/daemon.c,v 1.8 2007/01/09 00:27:53 imp Exp $
*/
+#include "config.h"
+
#ifndef HAVE_DAEMON
#include <errno.h>
Modified: trunk/varnish-cache/lib/libvarnishcompat/setproctitle.c
===================================================================
--- trunk/varnish-cache/lib/libvarnishcompat/setproctitle.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/lib/libvarnishcompat/setproctitle.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -29,6 +29,8 @@
* $Id$
*/
+#include "config.h"
+
#ifndef HAVE_SETPROCTITLE
#include <stdarg.h>
Modified: trunk/varnish-cache/lib/libvarnishcompat/srandomdev.c
===================================================================
--- trunk/varnish-cache/lib/libvarnishcompat/srandomdev.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/lib/libvarnishcompat/srandomdev.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -29,6 +29,8 @@
* $Id$
*/
+#include "config.h"
+
#ifndef HAVE_SRANDOMDEV
#include <sys/time.h>
Modified: trunk/varnish-cache/lib/libvarnishcompat/strlcat.c
===================================================================
--- trunk/varnish-cache/lib/libvarnishcompat/strlcat.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/lib/libvarnishcompat/strlcat.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -17,6 +17,8 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include "config.h"
+
#ifndef HAVE_STRLCAT
#include <sys/types.h>
Modified: trunk/varnish-cache/lib/libvarnishcompat/strlcpy.c
===================================================================
--- trunk/varnish-cache/lib/libvarnishcompat/strlcpy.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/lib/libvarnishcompat/strlcpy.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -17,6 +17,8 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include "config.h"
+
#ifndef HAVE_STRLCPY
#include <sys/types.h>
Modified: trunk/varnish-cache/lib/libvarnishcompat/strndup.c
===================================================================
--- trunk/varnish-cache/lib/libvarnishcompat/strndup.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/lib/libvarnishcompat/strndup.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -30,6 +30,8 @@
*
*/
+#include "config.h"
+
#ifndef HAVE_STRNDUP
#include <stdlib.h>
Modified: trunk/varnish-cache/lib/libvarnishcompat/vasprintf.c
===================================================================
--- trunk/varnish-cache/lib/libvarnishcompat/vasprintf.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/lib/libvarnishcompat/vasprintf.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -30,6 +30,8 @@
*
*/
+#include "config.h"
+
#ifndef HAVE_VASPRINTF
#include <stdarg.h>
Modified: trunk/varnish-cache/lib/libvarnishcompat/vis.c
===================================================================
--- trunk/varnish-cache/lib/libvarnishcompat/vis.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/lib/libvarnishcompat/vis.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -31,6 +31,8 @@
* $Id$
*/
+#include "config.h"
+
#if !defined(HAVE_VIS) || !defined(HAVE_STRVIS) || !defined(HAVE_STRVISX)
#include <sys/types.h>
Modified: trunk/varnish-cache/lib/libvcl/Makefile.am
===================================================================
--- trunk/varnish-cache/lib/libvcl/Makefile.am 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/lib/libvcl/Makefile.am 2008-02-13 13:55:39 UTC (rev 2455)
@@ -20,5 +20,3 @@
vcc_token.c \
vcc_var.c \
vcc_xref.c
-
-libvcl_la_CFLAGS = -include config.h
Modified: trunk/varnish-cache/lib/libvcl/vcc_acl.c
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_acl.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/lib/libvcl/vcc_acl.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -29,6 +29,8 @@
* $Id$
*/
+#include "config.h"
+
#include <stdio.h>
#include <stdlib.h>
Modified: trunk/varnish-cache/lib/libvcl/vcc_action.c
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_action.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/lib/libvcl/vcc_action.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -29,6 +29,8 @@
* $Id$
*/
+#include "config.h"
+
#include <stdio.h>
#include "vsb.h"
Modified: trunk/varnish-cache/lib/libvcl/vcc_backend.c
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_backend.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/lib/libvcl/vcc_backend.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -29,6 +29,8 @@
* $Id$
*/
+#include "config.h"
+
#include <sys/types.h>
#include <sys/socket.h>
Modified: trunk/varnish-cache/lib/libvcl/vcc_compile.c
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_compile.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/lib/libvcl/vcc_compile.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -60,6 +60,8 @@
* and all the rest...
*/
+#include "config.h"
+
#include <sys/stat.h>
#include <ctype.h>
Modified: trunk/varnish-cache/lib/libvcl/vcc_fixed_token.c
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_fixed_token.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/lib/libvcl/vcc_fixed_token.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -6,6 +6,8 @@
* Edit vcc_gen_fixed_token.tcl instead
*/
+#include "config.h"
+
#include <stdio.h>
#include <ctype.h>
#include "vcc_priv.h"
Modified: trunk/varnish-cache/lib/libvcl/vcc_gen_obj.tcl
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_gen_obj.tcl 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/lib/libvcl/vcc_gen_obj.tcl 2008-02-13 13:55:39 UTC (rev 2455)
@@ -305,6 +305,7 @@
puts $fo "\t{ NULL }"
}
+puts $fo "#include \"config.h\""
puts $fo "#include <stdio.h>"
puts $fo "#include \"vcc_compile.h\""
puts $fo ""
Modified: trunk/varnish-cache/lib/libvcl/vcc_parse.c
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_parse.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/lib/libvcl/vcc_parse.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -29,6 +29,8 @@
* $Id$
*/
+#include "config.h"
+
#include <stdio.h>
#include <string.h>
Modified: trunk/varnish-cache/lib/libvcl/vcc_string.c
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_string.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/lib/libvcl/vcc_string.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -29,6 +29,8 @@
* $Id$
*/
+#include "config.h"
+
#include <stdio.h>
#include <string.h>
Modified: trunk/varnish-cache/lib/libvcl/vcc_token.c
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_token.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/lib/libvcl/vcc_token.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -29,6 +29,8 @@
* $Id$
*/
+#include "config.h"
+
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
Modified: trunk/varnish-cache/lib/libvcl/vcc_var.c
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_var.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/lib/libvcl/vcc_var.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -29,6 +29,8 @@
* $Id$
*/
+#include "config.h"
+
#include <stdio.h>
#include <string.h>
Modified: trunk/varnish-cache/lib/libvcl/vcc_xref.c
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_xref.c 2008-02-13 13:29:40 UTC (rev 2454)
+++ trunk/varnish-cache/lib/libvcl/vcc_xref.c 2008-02-13 13:55:39 UTC (rev 2455)
@@ -39,6 +39,8 @@
* they are called.
*/
+#include "config.h"
+
#include <stdio.h>
#include "vsb.h"
More information about the varnish-commit
mailing list