diff options
author | Yann Droneaud <yann@droneaud.fr> | 2010-03-04 08:00:39 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2010-03-04 08:00:39 +0100 |
commit | cd8c6abcc8cea54924e55dffe820364ad98a40df (patch) | |
tree | b5f57356ca062c4d11ffebaa4db151011b465bd5 /tests | |
parent | d080ffe467f6f58be82ee14dbeed94026002f1e0 (diff) | |
download | rsyslog-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 'tests')
-rw-r--r-- | tests/ourtail.c | 1 | ||||
-rw-r--r-- | tests/rt-init.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/ourtail.c b/tests/ourtail.c index 4e8a6412..c31babb9 100644 --- a/tests/ourtail.c +++ b/tests/ourtail.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> int main(int __attribute__((unused)) argc, char __attribute__((unused)) *argv[]) diff --git a/tests/rt-init.c b/tests/rt-init.c index b9c4ce2e..66a9ad32 100644 --- a/tests/rt-init.c +++ b/tests/rt-init.c @@ -21,6 +21,7 @@ * * A copy of the GPL can be found in the file "COPYING" in this distribution. */ +#include "config.h" #include "rsyslog.h" #include "testbench.h" #include <stdio.h> /* must be last, else we get a zlib compile error on some platforms */ |