summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-03-19 22:21:17 +0000
committerRoger Dingledine <arma@torproject.org>2006-03-19 22:21:17 +0000
commitb62f0091e41b9ea6f99f5fa19cb80e3bbb7b443c (patch)
tree7b505cf568cccde9c25a47733a3ea721c619bb72
parented82152ab71c6b0ddeaa63cdb665f6083ddf1d97 (diff)
downloadtor-b62f0091e41b9ea6f99f5fa19cb80e3bbb7b443c.tar.gz
tor-b62f0091e41b9ea6f99f5fa19cb80e3bbb7b443c.zip
and now resume building on netbsd 2.0
insert circus music here svn:r6199
-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 ])