[or-cvs] r8906: add includes to AC_CHECK_MEMBERS test for timeval.tv_sec. (tor/trunk)
nickm at seul.org
nickm at seul.org
Sun Nov 5 15:52:34 UTC 2006
Author: nickm
Date: 2006-11-05 10:52:33 -0500 (Sun, 05 Nov 2006)
New Revision: 8906
Modified:
tor/trunk/
tor/trunk/configure.in
Log:
r9478 at Kushana: nickm | 2006-11-05 10:52:29 -0500
add includes to AC_CHECK_MEMBERS test for timeval.tv_sec.
Property changes on: tor/trunk
___________________________________________________________________
svk:merge ticket from /tor/trunk [r9478] on c95137ef-5f19-0410-b913-86e773d04f59
Modified: tor/trunk/configure.in
===================================================================
--- tor/trunk/configure.in 2006-11-05 11:37:21 UTC (rev 8905)
+++ tor/trunk/configure.in 2006-11-05 15:52:33 UTC (rev 8906)
@@ -503,7 +503,13 @@
AC_FUNC_FSEEKO
-AC_CHECK_MEMBERS([struct timeval.tv_sec])
+AC_CHECK_MEMBERS([struct timeval.tv_sec], , ,
+[#ifdef HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
+#ifdef HAVE_SYS_TIME_H
+#include <sys/time.h>
+#endif])
dnl In case we aren't given a working stdint.h, we'll need to grow our own.
dnl Watch out.
More information about the tor-commits
mailing list