]> granicus.if.org Git - libevent/commitdiff
include config.h if HAVE_CONFIG_H from Jan Kneschke
authorNiels Provos <provos@gmail.com>
Mon, 30 Jul 2007 23:56:05 +0000 (23:56 +0000)
committerNiels Provos <provos@gmail.com>
Mon, 30 Jul 2007 23:56:05 +0000 (23:56 +0000)
svn:r375

test/test-eof.c
test/test-init.c
test/test-time.c
test/test-weof.c

index 020c6611a22dfdf6f77f1f718689f96641c1a35c..4b1883c2186cf15770c1e026ce8d93880783cc90 100644 (file)
@@ -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>
index 32806baaf0ea2d6c82569ca20cd02a0b06fda9e9..7d22de55e83193bcf99d22d1fac919605918cf5b 100644 (file)
@@ -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>
index a26c973ece980cfb6d29f781289ba26e1421f71d..e21e8e0f2af05f17f82e52c9b173a7aebff9a93b 100644 (file)
@@ -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>
index 5f3be277bcd2e34b06c26f4653ddc03b0ca3086f..19f591e2809e7c1ab6470936519e8ffbaf595fc7 100644 (file)
@@ -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>