diff options
author | Niels Provos <provos@gmail.com> | 2007-02-28 04:02:29 +0000 |
---|---|---|
committer | Niels Provos <provos@gmail.com> | 2007-02-28 04:02:29 +0000 |
commit | 127c260bb7f8e972fffab9bc72bd1f53eae48730 (patch) | |
tree | 54b17097804851aae50538385ab94594c2f092ef /sample | |
parent | 995a58a374c4b1ce28c214d22dfdf00329b28957 (diff) | |
download | libevent-127c260bb7f8e972fffab9bc72bd1f53eae48730.tar.gz |
make evconfig.h available as installed header file; not
really ideal but good enough for me; from Nick Mathewson
svn:r339
Diffstat (limited to 'sample')
-rw-r--r-- | sample/Makefile.am | 2 | ||||
-rw-r--r-- | sample/signal-test.c | 4 | ||||
-rw-r--r-- | sample/time-test.c | 5 |
3 files changed, 2 insertions, 9 deletions
diff --git a/sample/Makefile.am b/sample/Makefile.am index b749b806..2e3a3457 100644 --- a/sample/Makefile.am +++ b/sample/Makefile.am @@ -2,7 +2,7 @@ AUTOMAKE_OPTIONS = foreign no-dependencies LDADD = ../libevent.la CPPFPLAGS = -I.. -CFLAGS = -I../compat +CFLAGS = -I../compat -I.. noinst_PROGRAMS = event-test time-test signal-test diff --git a/sample/signal-test.c b/sample/signal-test.c index 98650ca1..63dd9547 100644 --- a/sample/signal-test.c +++ b/sample/signal-test.c @@ -5,10 +5,6 @@ #include <sys/types.h> -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - #include <sys/stat.h> #ifndef WIN32 #include <sys/queue.h> diff --git a/sample/time-test.c b/sample/time-test.c index f0f93995..daa9daff 100644 --- a/sample/time-test.c +++ b/sample/time-test.c @@ -2,13 +2,10 @@ * Compile with: * cc -I/usr/local/include -o time-test time-test.c -L/usr/local/lib -levent */ +#include <evconfig.h> #include <sys/types.h> -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - #include <sys/stat.h> #ifndef WIN32 #include <sys/queue.h> |