[or-cvs] r9273: More missing headers in configure.in in order to solve previ (tor/trunk)
nickm at seul.org
nickm at seul.org
Fri Jan 5 23:34:32 UTC 2007
Author: nickm
Date: 2007-01-05 18:34:31 -0500 (Fri, 05 Jan 2007)
New Revision: 9273
Modified:
tor/trunk/
tor/trunk/configure.in
Log:
r11852 at Kushana: nickm | 2007-01-05 18:34:27 -0500
More missing headers in configure.in in order to solve previous openbsd in6_addr issue and prevent related issues from arising.
Property changes on: tor/trunk
___________________________________________________________________
svk:merge ticket from /tor/branches/0125alpha [r11852] on c95137ef-5f19-0410-b913-86e773d04f59
Modified: tor/trunk/configure.in
===================================================================
--- tor/trunk/configure.in 2007-01-05 22:12:15 UTC (rev 9272)
+++ tor/trunk/configure.in 2007-01-05 23:34:31 UTC (rev 9273)
@@ -493,7 +493,10 @@
#endif])
AC_CHECK_HEADERS(linux/netfilter_ipv4.h,
[linux_netfilter_ipv4=1], [linux_netfilter_ipv4=0],
-[#ifdef HAVE_SYS_SOCKET_H
+[#ifdef HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
+#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif])
@@ -555,7 +558,10 @@
AC_CHECK_TYPES([uint, u_char])
AC_CHECK_TYPES([struct in6_addr, struct sockaddr_storage], , ,
-[#ifdef HAVE_NETINET_IN_H
+[#ifdef HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
+#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif
#ifdef HAVE_NETINET_IN6_H
@@ -568,6 +574,15 @@
if test -z "$CROSS_COMPILE"; then
AC_CACHE_CHECK([whether time_t is signed], tor_cv_time_t_signed, [
AC_TRY_RUN([
+#ifdef HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
+#ifdef HAVE_SYS_TIME_H
+#include <sys/time.h>
+#endif
+#ifdef HAVE_TIME_H
+#include <time.h>
+#endif
int main(int c, char**v) { if (((time_t)-1)<0) return 1; else return 0; }],
tor_cv_time_t_signed=no, tor_cv_time_t_signed=yes)
])
More information about the tor-commits
mailing list