diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-08-03 23:31:22 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-08-03 23:31:22 +0000 |
commit | 849e998ac6c959429ee279a79ee1e5be5d9e7024 (patch) | |
tree | e20aa0901bfa708594587b102e29e4537d8e7129 /configure.in | |
parent | e58248df7531d507f55466d84bd4b83ece7d54a0 (diff) | |
download | tor-849e998ac6c959429ee279a79ee1e5be5d9e7024.tar tor-849e998ac6c959429ee279a79ee1e5be5d9e7024.tar.gz |
It is possible to have struct timeval but not gettimeofday.
svn:r2125
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.in b/configure.in index d04f5ce29..bdd43ed1f 100644 --- a/configure.in +++ b/configure.in @@ -148,6 +148,8 @@ AC_CHECK_HEADERS(stdint.h sys/types.h inttypes.h sys/param.h sys/wait.h sys/limi AC_CHECK_FUNCS(gettimeofday ftime socketpair uname inet_aton strptime) AC_REPLACE_FUNCS(strlcat strlcpy) +AC_CHECK_MEMBERS([struct timeval.tv_sec]) + dnl In case we aren't given a working stdint.h, we'll need to grow our own. dnl Watch out. |