summaryrefslogtreecommitdiff
path: root/test/test-init.c
diff options
context:
space:
mode:
authorNiels Provos <provos@gmail.com>2007-07-30 23:56:05 +0000
committerNiels Provos <provos@gmail.com>2007-07-30 23:56:05 +0000
commit9e0333a8d56970514acbdb792a04e6db2b0d56fe (patch)
tree1d1a3316ddee5b750401e023139d9379b3118526 /test/test-init.c
parent72c479e76a6dacaa47482f418b00b3dee3998336 (diff)
downloadlibevent-9e0333a8d56970514acbdb792a04e6db2b0d56fe.tar.gz
include config.h if HAVE_CONFIG_H from Jan Kneschke
svn:r375
Diffstat (limited to 'test/test-init.c')
-rw-r--r--test/test-init.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test-init.c b/test/test-init.c
index 32806baa..7d22de55 100644
--- a/test/test-init.c
+++ b/test/test-init.c
@@ -2,6 +2,10 @@
* Compile with:
* cc -I/usr/local/include -o time-test time-test.c -L/usr/local/lib -levent
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/types.h>
#include <sys/stat.h>