aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 473098680c..acc5bc02c8 100644
--- a/configure.in
+++ b/configure.in
@@ -199,9 +199,10 @@ else
fi
TOR_SEARCH_LIBRARY(libevent, $trylibeventdir, [-levent $WS32lib], [
+#include <stdlib.h>
#include <sys/time.h>
#include <sys/types.h>
-#include <event.h>], [void *event_init(void);],
+#include <event.h>], [void exit(int); void *event_init(void);],
[event_init(); exit(0);], [--with-libevent-dir], [/opt/libevent])
dnl Now check for particular libevent functions.