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 +#endif +#ifdef HAVE_SYS_TIME_H +#include +#endif]) dnl In case we aren't given a working stdint.h, we'll need to grow our own. dnl Watch out.