From: Niels Provos Date: Mon, 30 Jul 2007 23:56:05 +0000 (+0000) Subject: include config.h if HAVE_CONFIG_H from Jan Kneschke X-Git-Tag: release-2.0.1-alpha~606 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9e0333a8d56970514acbdb792a04e6db2b0d56fe;p=libevent include config.h if HAVE_CONFIG_H from Jan Kneschke svn:r375 --- diff --git a/test/test-eof.c b/test/test-eof.c index 020c6611..4b1883c2 100644 --- a/test/test-eof.c +++ b/test/test-eof.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 #include 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 #include diff --git a/test/test-time.c b/test/test-time.c index a26c973e..e21e8e0f 100644 --- a/test/test-time.c +++ b/test/test-time.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 #include diff --git a/test/test-weof.c b/test/test-weof.c index 5f3be277..19f591e2 100644 --- a/test/test-weof.c +++ b/test/test-weof.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 #include