summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 0052e4709c..571964aeb8 100644
--- a/configure.in
+++ b/configure.in
@@ -132,8 +132,7 @@ AC_CACHE_CHECK([for libevent directory], ac_cv_libevent_dir, [
fi
fi
# Can I compile and link it?
- AC_TRY_LINK([typedef unsigned char u_char; typedef unsigned long size_t;
-#include <sys/time.h>
+ AC_TRY_LINK([#include <sys/time.h>
#include <sys/types.h>
#include <event.h>], [ event_init(); ],
[ libevent_linked=yes ], [ libevent_linked=no ])