summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-07-21 10:36:47 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-07-21 10:36:47 +0200
commit81406f18983d2adb934c970e4949f4dafeb63308 (patch)
tree50d479093083b8fc35780961b1640b609f7274d7
parenta5e8684b91bf88c53f4afb548b797ac9ccb463e2 (diff)
downloadrsyslog-81406f18983d2adb934c970e4949f4dafeb63308.tar.gz
rsyslog-81406f18983d2adb934c970e4949f4dafeb63308.tar.xz
rsyslog-81406f18983d2adb934c970e4949f4dafeb63308.zip
fixed testbench compile problem on some platforms
-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