summaryrefslogtreecommitdiffstats
path: root/tests/rt-init.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-03-03 09:24:40 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2010-03-03 09:24:40 +0100
commitd080ffe467f6f58be82ee14dbeed94026002f1e0 (patch)
tree60bb70f7020e6404988182bbcee08b882b074fc6 /tests/rt-init.c
parent6cf9bf703de35dc530170fcfdd5bb81041e8c2c9 (diff)
downloadrsyslog-d080ffe467f6f58be82ee14dbeed94026002f1e0.tar.gz
rsyslog-d080ffe467f6f58be82ee14dbeed94026002f1e0.tar.xz
rsyslog-d080ffe467f6f58be82ee14dbeed94026002f1e0.zip
reordered some include, because otherwise we get zlib-related errors
on some platforms (namely Debian sid). This smells like a bug in zlib. Thanks to Michael Biebl for reporting the issue.
Diffstat (limited to 'tests/rt-init.c')
-rw-r--r--tests/rt-init.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/rt-init.c b/tests/rt-init.c
index aaac7ed1..b9c4ce2e 100644
--- a/tests/rt-init.c
+++ b/tests/rt-init.c
@@ -21,10 +21,9 @@
*
* A copy of the GPL can be found in the file "COPYING" in this distribution.
*/
-#include <stdio.h>
-
#include "rsyslog.h"
#include "testbench.h"
+#include <stdio.h> /* must be last, else we get a zlib compile error on some platforms */
MODULE_TYPE_TESTBENCH