summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorYann Droneaud <yann@droneaud.fr>2010-03-04 08:00:39 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2010-03-04 08:00:39 +0100
commitcd8c6abcc8cea54924e55dffe820364ad98a40df (patch)
treeb5f57356ca062c4d11ffebaa4db151011b465bd5 /tools
parentd080ffe467f6f58be82ee14dbeed94026002f1e0 (diff)
downloadrsyslog-cd8c6abcc8cea54924e55dffe820364ad98a40df.tar.gz
rsyslog-cd8c6abcc8cea54924e55dffe820364ad98a40df.tar.xz
rsyslog-cd8c6abcc8cea54924e55dffe820364ad98a40df.zip
Includes "config.h" before any other header.
For consistency, ./configure generated "config.h" must be the first header include through out the project. Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/msggen.c1
-rw-r--r--tools/regexp.c1
-rw-r--r--tools/zpipe.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/tools/msggen.c b/tools/msggen.c
index 06244c18..29ade3a7 100644
--- a/tools/msggen.c
+++ b/tools/msggen.c
@@ -21,6 +21,7 @@
* A copy of the GPL can be found in the file "COPYING" in this distribution.
*/
+#include "config.h"
#include <stdio.h>
#include <syslog.h>
diff --git a/tools/regexp.c b/tools/regexp.c
index c8e4c681..e8bba4f4 100644
--- a/tools/regexp.c
+++ b/tools/regexp.c
@@ -26,6 +26,7 @@
*
* A copy of the GPL can be found in the file "COPYING" in this distribution.
*/
+#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/tools/zpipe.c b/tools/zpipe.c
index bde6c5c1..d2278359 100644
--- a/tools/zpipe.c
+++ b/tools/zpipe.c
@@ -22,6 +22,7 @@
files created by rsyslog's zip output writer.
*/
+#include "config.h"
#include <stdio.h>
#include <string.h>
#include <assert.h>