]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
[CLEANUP] included common/version.h everywhere
authorWilly Tarreau <willy@wtap.(none)>
Thu, 29 Jun 2006 16:54:54 +0000 (18:54 +0200)
committerWilly Tarreau <willy@wtap.(none)>
Thu, 29 Jun 2006 16:54:54 +0000 (18:54 +0200)
66 files changed:
include/common/appsession.h
include/common/base64.h
include/common/cfgparse.h
include/common/chtbl.h
include/common/compat.h
include/common/config.h
include/common/defaults.h
include/common/epoll.h
include/common/hashpjw.h
include/common/list.h
include/common/mini-clist.h
include/common/regex.h
include/common/standard.h
include/common/template.h
include/common/time.h
include/common/uri_auth.h
include/common/version.h
include/proto/backend.h
include/proto/buffers.h
include/proto/checks.h
include/proto/client.h
include/proto/fd.h
include/proto/log.h
include/proto/polling.h
include/proto/proto_http.h
include/proto/proxy.h
include/proto/queue.h
include/proto/server.h
include/proto/session.h
include/proto/stream_sock.h
include/proto/task.h
include/proto/template.h
include/types/backend.h
include/types/buffers.h
include/types/capture.h
include/types/client.h
include/types/fd.h
include/types/global.h
include/types/httperr.h
include/types/log.h
include/types/proto_http.h
include/types/proxy.h
include/types/queue.h
include/types/server.h
include/types/session.h
include/types/task.h
include/types/template.h
src/appsession.c
src/backend.c
src/base64.c
src/buffers.c
src/capture.c
src/chtbl.c
src/client.c
src/hashpjw.c
src/list.c
src/log.c
src/proxy.c
src/queue.c
src/regex.c
src/server.c
src/session.c
src/standard.c
src/stream_sock.c
src/time.c
src/uri_auth.c

index 2c39e4663c8fd9bec72069171b5582191f1b63a1..eb9ba2d0ff3c25cc2f59bb11b6ca962f3b61d997 100644 (file)
@@ -7,6 +7,7 @@
 #include <sys/time.h>
 
 #include <common/chtbl.h>
+#include <common/config.h>
 #include <common/hashpjw.h>
 #include <common/list.h>
 
index 3948962d66ba08122842168c6a8bfd4cf61da30a..bd77c687a23230e4bfa890078876d2c0dccd81b0 100644 (file)
@@ -14,6 +14,8 @@
 #ifndef _COMMON_BASE64_H
 #define _COMMON_BASE64_H
 
+#include <common/config.h>
+
 int a2base64(char *in, int ilen, char *out, int olen);
 extern const char base64tab[];
 
index 35302b3b72b4821c00ba2f87fb03a5c1b52506b5..591f1723913c14079ec5335f6da5ec70a0f6bf60 100644 (file)
@@ -22,6 +22,8 @@
 #ifndef _COMMON_CFGPARSE_H
 #define _COMMON_CFGPARSE_H
 
+#include <common/config.h>
+
 /* configuration sections */
 #define CFG_NONE       0
 #define CFG_GLOBAL     1
index 38b495fb87d852b973f57e39455bd0fc88cf29a9..cddb20796003581777cc9a283088cb6f7cf39f8c 100644 (file)
@@ -20,7 +20,8 @@
 
 #include <stdlib.h>
 
-#include "list.h"
+#include <common/config.h>
+#include <common/list.h>
 
 /*****************************************************************************
 *                                                                            *
index a605da1ec4d9a6c420834c0f186e07fbc3fdc961..58908d79a915ecc00682a5ea3829018d2d44aac0 100644 (file)
@@ -24,6 +24,7 @@
 
 /* This is needed on Linux for Netfilter includes */
 #include <sys/socket.h>
+#include <common/config.h>
 
 /* INTBITS
  * how many bits are needed to code the size of an int on the target platform.
index f9145c50a434ed6cf680d2835b60e0010c477ff8..c1cf098b8a6ff0b384be9392d753b16716e593ba 100644 (file)
  */
 #define SCHEDULER_RESOLUTION    9
 
+/* CONFIG_HAP_MEM_OPTIM
+ * This enables use of memory pools instead of malloc()/free(). There
+ * is no reason to disable it, except perhaps for rare debugging.
+ */
+#ifndef   CONFIG_HAP_NO_MEM_OPTIM
+#  define CONFIG_HAP_MEM_OPTIM
+#endif /* CONFIG_HAP_NO_MEM_OPTIM */
+
+
 #endif /* _COMMON_CONFIG_H */
index 449fc5f17644bfedfeac2f4bcfd4a6c5ff8df5a5..e44a64c2ece3add97b88900e5ef635426b35e106 100644 (file)
 #ifndef _COMMON_DEFAULTS_H
 #define _COMMON_DEFAULTS_H
 
-
-/* CONFIG_HAP_MEM_OPTIM
- * This enables use of memory pools instead of malloc()/free(). There
- * is no reason to disable it, except perhaps for rare debugging.
- */
-#ifndef   CONFIG_HAP_NO_MEM_OPTIM
-#  define CONFIG_HAP_MEM_OPTIM
-#endif /* CONFIG_HAP_NO_MEM_OPTIM */
-
 /*
  * BUFSIZE defines the size of a read and write buffer. It is the maximum
  * amount of bytes which can be stored by the proxy for each session. However,
index 865a3e1298d3f06c4979ce2f9f5ab728c682719e..56eef7ec646723981ba99447e53b8668445a9f9c 100644 (file)
 #ifndef _COMMON_EPOLL_H
 #define _COMMON_EPOLL_H
 
-#include <linux/unistd.h>
 #include <stdint.h>
+#include <linux/unistd.h>
+
+#include <common/config.h>
 
 /* epoll_ctl() commands */
 #ifndef EPOLL_CTL_ADD
index 99a3ad7bc9886983cc26b900b59fd29a288aff7b..8d3998c6a1a27a97fe2c4c18b84534e0216342bd 100644 (file)
@@ -19,6 +19,8 @@
 #ifndef _COMMON_HASHPJW_H
 #define _COMMON_HASHPJW_H
 
+#include <common/config.h>
+
 /*****************************************************************************
 *                                                                            *
 *  Define a table size for demonstration purposes only.                      *
index 4537d8d986340a3d4a161beda0c9ee9dbfcba63e..91a5084ddaceddcd82a7ca6c839137e6323f5919 100644 (file)
@@ -19,6 +19,7 @@
 #define _COMMON_LIST_H
 
 #include <stdlib.h>
+#include <common/config.h>
 
 /*****************************************************************************
  *                                                                            *
index 47b004d7ae023c5b02fc643fb758867f8a22bc9e..cf472ba8ffa17c27a715d40d575ad17885d15a6d 100644 (file)
@@ -7,6 +7,8 @@
 #ifndef _COMMON_MINI_CLIST_H
 #define _COMMON_MINI_CLIST_H
 
+#include <common/config.h>
+
 /* these are circular or bidirectionnal lists only. Each list pointer points to
  * another list pointer in a structure, and not the structure itself. The
  * pointer to the next element MUST be the first one so that the list is easily
index d9510bfba7e4e41b20c710e6bc229e4fe9a397cc..c7f1c214a2ab64c4f635ea16fa454d5a3ca1e477 100644 (file)
@@ -22,7 +22,7 @@
 #ifndef _COMMON_REGEX_H
 #define _COMMON_REGEX_H
 
-#include <common/defaults.h>
+#include <common/config.h>
 
 #ifdef USE_PCRE
 #include <pcre.h>
index bde42e3169fc54174d73722f814b3553163acf29..0b2ea8d8a524656b7c83b5af75df7ed62f87886b 100644 (file)
@@ -23,9 +23,7 @@
 #define _COMMON_STANDARD_H
 
 #include <netinet/in.h>
-#include <common/defaults.h>
-#include <common/compat.h>
-
+#include <common/config.h>
 
 /****** string-specific macros and functions ******/
 /* if a > max, then bound <a> to <max>. The macro returns the new <a> */
index 431274fac90438b93910557ddb5dfa6f32bf89f5..c9e48bfa1e5d83f04dcb43b53ecb94812606f2d0 100644 (file)
@@ -22,6 +22,7 @@
 #ifndef _COMMON_TEMPLATE_H
 #define _COMMON_TEMPLATE_H
 
+#include <common/config.h>
 
 #endif /* _COMMON_TEMPLATE_H */
 
index b25846662240f1749a8da88686be980c468d6ee2..7661aac03de74b0c1b8984d74ca0b8b4a5b58203 100644 (file)
@@ -24,6 +24,7 @@
 
 #include <stdlib.h>
 #include <sys/time.h>
+#include <common/config.h>
 
 #define TIME_ETERNITY          -1
 
index ddfa56ba6581b2305487b2cab81f6484c4a39600..bb25ac1ea3138aa709f64d32fcfc3c4d6121894d 100644 (file)
@@ -12,6 +12,9 @@
 
 #ifndef _COMMON_URI_AUTH_H
 #define _COMMON_URI_AUTH_H
+
+#include <common/config.h>
+
 /* here we find a very basic list of base64-encoded 'user:passwd' strings */
 struct user_auth {
        struct user_auth *next;         /* next entry, NULL if none */
index c1ae43b233af9c374b7226c82c7a8bfcaf2c7422..14d68a2d4c73893077852fd33ed53c063d50d246 100644 (file)
 #ifndef _COMMON_VERSION_H
 #define _COMMON_VERSION_H
 
+#include <common/config.h>
+
 #ifdef  CONFIG_PRODUCT_NAME
-#define PRODUCT_NAME CONFIG_PRODUCT_NAME
+#define PRODUCT_NAME    CONFIG_PRODUCT_NAME
 #else
-#define PRODUCT_NAME "HAProxy"
+#define PRODUCT_NAME    "HAProxy"
 #endif
 
-#ifndef HAPROXY_VERSION
+#ifdef CONFIG_HAPROXY_VERSION
+#define HAPROXY_VERSION CONFIG_HAPROXY_VERSION
+#else
 #define HAPROXY_VERSION "1.3.0"
 #endif
 
-#ifndef HAPROXY_DATE
+#ifdef CONFIG_HAPROXY_DATE
+#define HAPROXY_DATE    CONFIG_HAPROXY_DATE
+#else
 #define HAPROXY_DATE    "2006/06/26"
 #endif
 
index 5f24be6d884573957ebd63ce4207d0adde1adde6..cc25a6fe165166d4c12906add8b642e705683a39 100644 (file)
@@ -22,6 +22,7 @@
 #ifndef _PROTO_BACKEND_H
 #define _PROTO_BACKEND_H
 
+#include <common/config.h>
 
 #include <types/backend.h>
 #include <types/session.h>
index b332a4bcf6064321f533433ade6c1f1eff03f93a..29a2abc8befb17a9b34a73440ca6e6ca2e9b9656 100644 (file)
@@ -22,7 +22,7 @@
 #ifndef _PROTO_BUFFERS_H
 #define _PROTO_BUFFERS_H
 
-#include <common/defaults.h>
+#include <common/config.h>
 #include <types/buffers.h>
 
 /* returns 1 if the buffer is empty, 0 otherwise */
index d16a288bd495f0f55d11e93c4f909665ed5c033a..6ac32a1c9c2dd76818ee75bd14c787029153f78a 100644 (file)
@@ -23,6 +23,7 @@
 #define _PROTO_CHECKS_H
 
 #include <types/task.h>
+#include <common/config.h>
 
 int process_chk(struct task *t);
 
index e119dca6bcc88f0763a020e2037e7bac29c5bfa7..3065b616d2995956528f6305b81a009b805ed1bf 100644 (file)
@@ -22,9 +22,9 @@
 #ifndef _PROTO_CLIENT_H
 #define _PROTO_CLIENT_H
 
+#include <common/config.h>
 #include <types/client.h>
 
-
 int event_accept(int fd);
 
 
index 699047bdb065f096253edfaabda75d7cc86788ab..879205b78802663e2bd51189a46be941d281566e 100644 (file)
@@ -26,6 +26,7 @@
 #include <sys/types.h>
 #include <unistd.h>
 
+#include <common/config.h>
 #include <types/fd.h>
 
 /* Deletes an FD from the fdsets, and recomputes the maxfd limit.
index 5cc568a5f34a3351f8eb608a76900a0db83271cc..7a74c82334198d9eb631c9b2684e2905b75962a0 100644 (file)
@@ -26,6 +26,7 @@
 #include <stdio.h>
 #include <syslog.h>
 
+#include <common/config.h>
 #include <types/log.h>
 #include <types/proxy.h>
 #include <types/session.h>
index 6b349c6092ffee3be0be76b4ff85d5493c418c64..179c654a2ee544e2dda6cff8b28c8d86e77aa00b 100644 (file)
@@ -22,6 +22,7 @@
 #ifndef _PROTO_POLLING_H
 #define _PROTO_POLLING_H
 
+#include <common/config.h>
 #include <types/polling.h>
 
 /*
index e9cd4f3eacd028ec865713882b9ca90327c9231c..205b0eebbecc28fe7af1791ac7258faa95705d64 100644 (file)
@@ -22,6 +22,7 @@
 #ifndef _PROTO_PROTO_HTTP_H
 #define _PROTO_PROTO_HTTP_H
 
+#include <common/config.h>
 #include <types/proto_http.h>
 #include <types/session.h>
 #include <types/task.h>
index 4a3d67c7d640ab38d123f8028aa89f4882173dca..968495f3a2e9dc09e7590f70aad06fc08b737f40 100644 (file)
@@ -22,7 +22,7 @@
 #ifndef _PROTO_PROXY_H
 #define _PROTO_PROXY_H
 
-
+#include <common/config.h>
 #include <types/proxy.h>
 
 int start_proxies(int verbose);
index 6909cbe0dfd9ba57d070b14fc708ae94da896742..6732ba909015be36fc90672e4932515813c05512 100644 (file)
@@ -22,6 +22,7 @@
 #ifndef _PROTO_QUEUE_H
 #define _PROTO_QUEUE_H
 
+#include <common/config.h>
 #include <common/memory.h>
 #include <common/mini-clist.h>
 
index b79b9702b15bd0aca4db603781c167975ff7c119..2df0763a27656aea8153b8afc8b8489388252b6e 100644 (file)
@@ -24,6 +24,7 @@
 
 #include <unistd.h>
 
+#include <common/config.h>
 #include <types/proxy.h>
 #include <types/queue.h>
 #include <types/server.h>
index 6c84f4c234fdfc61274352096fa669c263ce6ca3..e3e523409728f5b7be6be5ff704f8766dc2fe34e 100644 (file)
@@ -22,7 +22,7 @@
 #ifndef _PROTO_SESSION_H
 #define _PROTO_SESSION_H
 
-
+#include <common/config.h>
 #include <types/session.h>
 
 void session_free(struct session *s);
index 14d90cf819fbd3e0e4d6fb6c22454912da6d5072..31184b1bad218f689b594e9bfbd0d730ee72c77a 100644 (file)
@@ -26,7 +26,6 @@
 #include <sys/socket.h>
 #include <sys/types.h>
 
-#include <common/defaults.h>
 #include <common/config.h>
 
 
index 72fd1f18564e7c8bb949697c4a985bcf7f00e57a..70abb8296fc039c5ada3065c7f4cbac7657f98be 100644 (file)
 
 
 #include <sys/time.h>
-#include <types/task.h>
+
+#include <common/config.h>
 #include <common/memory.h>
+#include <types/task.h>
 
 
 /* puts the task <t> in run queue <q>, and returns <t> */
index 868634f78f32a9b1ef72a2753159550c73986f99..f7f9e553e114068c1a0446b40dac4424adc4cd23 100644 (file)
@@ -22,7 +22,7 @@
 #ifndef _PROTO_TEMPLATE_H
 #define _PROTO_TEMPLATE_H
 
-
+#include <common/config.h>
 #include <types/template.h>
 
 
index 7a6a640ade04464469bb53b64a8c85e0486310a4..9fa179f7f0285c66873c61034890577eff34e59b 100644 (file)
@@ -22,6 +22,8 @@
 #ifndef _TYPES_BACKEND_H
 #define _TYPES_BACKEND_H
 
+#include <common/config.h>
+
 /* bits for proxy->options */
 #define PR_O_REDISP     0x00000001      /* allow reconnection to dispatch in case of errors */
 #define PR_O_TRANSP     0x00000002      /* transparent mode : use original DEST as dispatch */
index 1bbea6905ee58042546155839c5b7f0deec8a948..b5bd661cb1baaa83dabac63c5c86901bc4b90353 100644 (file)
@@ -22,7 +22,7 @@
 #ifndef _TYPES_BUFFERS_H
 #define _TYPES_BUFFERS_H
 
-#include <common/defaults.h>
+#include <common/config.h>
 #include <common/memory.h>
 
 /* describes a chunk of string */
index e531b546d7a237e9954a00b7a1b9e25c08b7f982..d0271a2e24849f0c75a72fb998d70571556666b8 100644 (file)
@@ -22,6 +22,8 @@
 #ifndef _TYPES_CAPTURE_H
 #define _TYPES_CAPTURE_H
 
+#include <common/config.h>
+
 struct cap_hdr {
     struct cap_hdr *next;
     char *name;                                /* header name, case insensitive */
index d19e1006531ea0da6d5a433c2542442a094def0c..24f405f203825163fea3755b50faf6881432ef6c 100644 (file)
@@ -22,6 +22,8 @@
 #ifndef _TYPES_CLIENT_H
 #define _TYPES_CLIENT_H
 
+#include <common/config.h>
+
 /*
  * FIXME: break this into HTTP state and TCP socket state.
  * See server.h for the other end.
index 1b24be3f59fdad0b90bdd033f5384c4f946ca68f..d0219dc6f44f379f3fa4cd1e865556fbee4ffa1e 100644 (file)
@@ -1,5 +1,5 @@
 /*
-  include/fd.h
+  include/types/fd.h
   File descriptors states.
 
   Copyright (C) 2000-2006 Willy Tarreau - w@1wt.eu
index 4a2e895e8c7bc205e04f8419bdd838a1e7d4cc22..681ac05820d4563e3681b1978071095f8e6f5895 100644 (file)
@@ -24,6 +24,7 @@
 
 #include <netinet/in.h>
 
+#include <common/config.h>
 #include <types/task.h>
 
 /* modes of operation (global.mode) */
index 3a40a239f67d0e7e53ff59c5945aa2ad0ddde7f1..c594048209abaf09a1c0f0b5cf238f4561c0e2c0 100644 (file)
@@ -22,6 +22,8 @@
 #ifndef _TYPES_HTTPERR_H
 #define _TYPES_HTTPERR_H
 
+#include <common/config.h>
+
 /* various data sources for the responses */
 #define DATA_SRC_NONE  0
 #define DATA_SRC_STATS 1
index 9aeb11e7f57db84252f9cbd2739bf64dade24012..dc04e658079b1d5b36e479ab5cc4dcbbe1c29ddf 100644 (file)
@@ -22,6 +22,7 @@
 #ifndef _TYPES_LOG_H
 #define _TYPES_LOG_H
 
+#include <common/config.h>
 
 #define MAX_SYSLOG_LEN          1024
 #define NB_LOG_FACILITIES       24
index 2ccee0651999b0bc4ce0f357764cfbe1f97773c7..3cedc1e3104d9d46ec256b20ec46b422258d889f 100644 (file)
@@ -22,6 +22,7 @@
 #ifndef _TYPES_PROTO_HTTP_H
 #define _TYPES_PROTO_HTTP_H
 
+#include <common/config.h>
 
 /*
  * FIXME: break this into HTTP state and TCP socket state.
index d699bc104ba6bb9fe24874d509c8f953bfab1c6b..306c31dcbca423178113894708111d65d18ee73c 100644 (file)
@@ -28,6 +28,7 @@
 
 #include <common/appsession.h>
 #include <common/chtbl.h>
+#include <common/config.h>
 #include <common/mini-clist.h>
 #include <common/regex.h>
 
index 1e45b28a4b5645dd6c7f40f873bae713d0f4c89e..a8e7d8b016bcbc3ce5b13fe80ae867707911f212 100644 (file)
@@ -22,6 +22,7 @@
 #ifndef _TYPES_QUEUE_H
 #define _TYPES_QUEUE_H
 
+#include <common/config.h>
 #include <common/mini-clist.h>
 
 #include <types/server.h>
index 7c62a3da09589295d495f4768698384751be06d7..37b8af15f11fe213719c6f4e77a52d8552e9996d 100644 (file)
@@ -25,6 +25,7 @@
 #include <netinet/in.h>
 #include <arpa/inet.h>
 
+#include <common/config.h>
 #include <common/mini-clist.h>
 
 #include <types/buffers.h>
index 8a5d0a450f07cbe05d65021aac6f052477f01235..477c4252dcde05a6dd3d1772c3b2eadbd5cef273 100644 (file)
@@ -28,6 +28,7 @@
 #include <netinet/in.h>
 #include <arpa/inet.h>
 
+#include <common/config.h>
 #include <common/mini-clist.h>
 
 #include <types/buffers.h>
index 560a2fc68c97a72f79c12b091126819e1ed43992..6b1df226cdbbe94ca5d13adbc95c90eeb65ce1ef 100644 (file)
@@ -22,9 +22,9 @@
 #ifndef _TYPES_TASK_H
 #define _TYPES_TASK_H
 
-
 #include <sys/time.h>
 
+#include <common/config.h>
 
 /* values for task->state */
 #define TASK_IDLE      0
index 8fa1ce52e39d3a83ed271b44cd6de0df73feb9db..e4292e72bad26f3586642e9901e003650c69c5bd 100644 (file)
@@ -22,6 +22,7 @@
 #ifndef _TYPES_TEMPLATE_H
 #define _TYPES_TEMPLATE_H
 
+#include <common/config.h>
 
 #endif /* _TYPES_TEMPLATE_H */
 
index 58145e1a5c3d709f7873e307c91e6a14a7bbcf13..a63116d9cb94c0e5e24a240ba0281e286831c3ea 100644 (file)
@@ -15,6 +15,7 @@
 
 #include <common/appsession.h>
 #include <common/chtbl.h>
+#include <common/config.h>
 #include <common/list.h>
 #include <common/time.h>
 
index df920a0221432e130af06f70f35dcc0950cb4907..ff91ee3d01be8bda33fd0f336d581410975ae745 100644 (file)
@@ -17,6 +17,7 @@
 #include <syslog.h>
 
 #include <common/compat.h>
+#include <common/config.h>
 #include <common/time.h>
 
 #include <types/buffers.h>
index d730328d716014045c0fc35a069e3c288607e7d9..005c48684ae2da959ad671b5a3b2154030f51dbc 100644 (file)
@@ -11,6 +11,7 @@
  */
 
 #include <common/base64.h>
+#include <common/config.h>
 
 const char base64tab[64]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
 
index bbc1f2831fa749216f088adc55b6822a5d7c00bb..5e71b532cc6174b2efa087ef6bf7e3fd376b1db9 100644 (file)
@@ -11,6 +11,8 @@
  */
 
 #include <string.h>
+
+#include <common/config.h>
 #include <proto/buffers.h>
 
 void **pool_buffer   = NULL;
index 3a7c2c6b1e21b9a024ffbea2e5d8f4f6ec3bfe0b..c0c4a75f5644cf7a54893368a5bf0d369aca59db 100644 (file)
@@ -11,6 +11,8 @@
  */
 
 #include <stdlib.h>
+
+#include <common/config.h>
 #include <types/capture.h>
 
 void **pool_capture  = NULL;
index 7773d403e1460a85d541502bfc25ec76cc2680ba..08eebb819535071497e7b09a7c4903abe13e2339 100644 (file)
@@ -18,6 +18,7 @@
 #include <stdlib.h>
 #include <string.h>
 
+#include <common/config.h>
 #include <common/list.h>
 #include <common/chtbl.h>
 
index 31da5941acff87eea3bfd2e57a2e6f5b9815a469..f4f02e3a694c6f56ee0a4b8d9815cd7a7e4b1533 100644 (file)
@@ -21,6 +21,7 @@
 #include <sys/types.h>
 
 #include <common/compat.h>
+#include <common/config.h>
 #include <common/time.h>
 
 #include <types/backend.h>
index 69fa1b919746ea90c0d1c8f34b7fe304746de287..17ef3a2859afb4b5f115ef55eb8527f51be9ffb3 100644 (file)
@@ -16,6 +16,7 @@
 *                                                                            *
 *****************************************************************************/
 
+#include <common/config.h>
 #include <common/hashpjw.h>
 #include <common/appsession.h>
 
index ae79a0cb92356193e79db2d8e28b92defd23abe3..f23686aa36b8d3193bfbd91ef72cb1c43e8a49ac 100644 (file)
@@ -18,6 +18,7 @@
 #include <stdlib.h>
 #include <string.h>
 
+#include <common/config.h>
 #include <common/list.h>
 
 /*****************************************************************************
index 34cf52532b879c7e971da80a97ddf5d1f2460406..a9b0eff49fe88c047f7e163b166ce45b4a412d81 100644 (file)
--- a/src/log.c
+++ b/src/log.c
@@ -20,6 +20,7 @@
 
 #include <sys/time.h>
 
+#include <common/config.h>
 #include <common/standard.h>
 
 #include <types/backend.h>
index 19273db932bb2672c4a1cd75ab2144ffd945d928..c869be2d75f5621ebfac0140befdf364b5b478c9 100644 (file)
@@ -18,6 +18,7 @@
 
 #include <common/defaults.h>
 #include <common/compat.h>
+#include <common/config.h>
 #include <common/time.h>
 
 #include <types/global.h>
index a12f31373ad5575ee14b35938669a30f06423752..35285378f4c4828be87e4972b0c5f5c112f6135f 100644 (file)
@@ -10,6 +10,7 @@
  *
  */
 
+#include <common/config.h>
 #include <common/time.h>
 
 #include <types/proxy.h>
index 9db3d1015af16dc5d765a4d7547e74b4daf40eea..7d6b30ddc42f2fb717b98832394b90d4857264a7 100644 (file)
@@ -14,6 +14,7 @@
 #include <stdlib.h>
 #include <string.h>
 
+#include <common/config.h>
 #include <common/regex.h>
 #include <common/standard.h>
 #include <proto/log.h>
index 50c025d3f773280b194d24d90fae43da17e4f5cb..5b33d114b35e016de59b18119ae7d5c1dfb89de4 100644 (file)
@@ -10,6 +10,7 @@
  *
  */
 
+#include <common/config.h>
 #include <types/backend.h>
 #include <types/proxy.h>
 #include <types/server.h>
index e057b152431856f6769bf3030e4041fd26d98e34..9a59e2858d30b93d8ae346405bbe61d861e71992 100644 (file)
@@ -11,6 +11,8 @@
  */
 
 #include <stdlib.h>
+
+#include <common/config.h>
 #include <common/memory.h>
 
 #include <types/backend.h>
index 7ddb88a81ab99d441d188796f9608edb64e86fc8..64357a2b250be79f2eb0c90572b6698d9cc85448 100644 (file)
@@ -16,6 +16,7 @@
 #include <netinet/in.h>
 #include <arpa/inet.h>
 
+#include <common/config.h>
 #include <common/standard.h>
 #include <proto/log.h>
 
index d8a99bff03ab5b883e657e44d0e2beeb95ce0938..1c7fa5916f7ea6d2fb72b6a8b2d0b54e99b691a4 100644 (file)
@@ -20,6 +20,7 @@
 #include <sys/types.h>
 
 #include <common/compat.h>
+#include <common/config.h>
 #include <common/time.h>
 
 #include <types/backend.h>
index e573b9d9c4bd87b17317a0b443c62a559e46f5df..5abfcc4d2964d902a2ad79d61af7fef8596f697a 100644 (file)
@@ -11,6 +11,8 @@
  */
 
 #include <sys/time.h>
+
+#include <common/config.h>
 #include <common/time.h>
 
 struct timeval now;             /* the current date at any moment */
index 661419a21f5e8969612aad182d06e13fe89dcb89..f666c0dfa0d5dd19035c8236b903b437c2356261 100644 (file)
@@ -14,6 +14,7 @@
 #include <string.h>
 
 #include <common/base64.h>
+#include <common/config.h>
 #include <common/uri_auth.h>