summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-11-12 20:42:57 +0000
committerRoger Dingledine <arma@torproject.org>2007-11-12 20:42:57 +0000
commit6739ef40277b012f44e8209bb3c9e352cccc5cb1 (patch)
tree888e5fcfae2449b43ef064bcced4c1131197ddac /configure.in
parentb7024f0f3076c74c44c9422c5dd7e1fe07ed276a (diff)
downloadtor-6739ef40277b012f44e8209bb3c9e352cccc5cb1.tar.gz
tor-6739ef40277b012f44e8209bb3c9e352cccc5cb1.zip
Make it build on OpenBSD again. Patch from tup.
svn:r12489
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 24e43cb4e9..f8ad33516e 100644
--- a/configure.in
+++ b/configure.in
@@ -4,7 +4,7 @@ dnl Copyright (c) 2004-2007, Roger Dingledine, Nick Mathewson
dnl See LICENSE for licensing information
AC_INIT
-AM_INIT_AUTOMAKE(tor, 0.2.0.11-alpha)
+AM_INIT_AUTOMAKE(tor, 0.2.0.11-alpha-dev)
AM_CONFIG_HEADER(orconfig.h)
AC_CANONICAL_HOST
@@ -363,7 +363,10 @@ AC_CHECK_TYPES([struct in6_addr, struct sockaddr_in6, struct sockaddr_storage, s
])
AC_CHECK_TYPES([rlim_t], , ,
-[#ifdef HAVE_SYS_RESOURCE_H
+[#ifdef HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
+#ifdef HAVE_SYS_RESOURCE_H
#include <sys/resource.h>
#endif
])