better checking for timeval
authorBradley Bell <btb@icculus.org>
Sat, 4 Oct 2003 02:50:21 +0000 (02:50 +0000)
committerBradley Bell <btb@icculus.org>
Sat, 4 Oct 2003 02:50:21 +0000 (02:50 +0000)
ChangeLog
configure.ac

index cb86f15..f3f92e0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2003-10-03  Bradley Bell  <btb@icculus.org>
+
+       * configure.ac: better checking for timeval
+
 2003-10-03  Martin Schaffner <maschaffner@gmx.ch>
 
        * arch/dos/bak/ipx.c, arch/dos/ipx.c, arch/linux/Makefile.am,
index d92a5af..80c64d6 100644 (file)
@@ -71,7 +71,7 @@ case $host_os in
 esac
 
 AC_CHECK_DECLS(nanosleep,,,[#include <time.h>])
-AC_CHECK_TYPES([struct timespec, struct timeval])
+AC_CHECK_TYPES([struct timespec, struct timeval],,,[#include <sys/time.h>])
 
 AM_CONDITIONAL(MINGW32, test x$MINGW32 = xyes)
 if test x$MINGW32 = xyes; then