diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-11-05 15:52:33 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-11-05 15:52:33 +0000 |
commit | 00fdcf27f5ff234d67f865600dd95489f127a0a3 (patch) | |
tree | 9800975a74b8174a29fac0433758413b97e3034f /configure.in | |
parent | 80e1ab7ee16175d49bb71a4b41ac48d451469e30 (diff) | |
download | tor-00fdcf27f5ff234d67f865600dd95489f127a0a3.tar.gz tor-00fdcf27f5ff234d67f865600dd95489f127a0a3.zip |
r9478@Kushana: nickm | 2006-11-05 10:52:29 -0500
add includes to AC_CHECK_MEMBERS test for timeval.tv_sec.
svn:r8906
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/configure.in b/configure.in index e92eb5e74a..abfd1b8639 100644 --- a/configure.in +++ b/configure.in @@ -503,7 +503,13 @@ fi 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. |