have to include time.h when checking for nanosleep
authorBradley Bell <btb@icculus.org>
Wed, 30 Apr 2003 20:30:21 +0000 (20:30 +0000)
committerBradley Bell <btb@icculus.org>
Wed, 30 Apr 2003 20:30:21 +0000 (20:30 +0000)
ChangeLog
configure.ac

index c9b4a49..7b72a27 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,8 @@
 
 2003-04-30  Bradley Bell  <btb@icculus.org>
 
+       * configure.ac: have to include time.h when checking for nanosleep
+
        * configure.ac, libmve/mveplay.c: use autoconf to check for struct
        timespec
 
index 948b0cc..40b85ae 100644 (file)
@@ -36,7 +36,7 @@ AC_PROG_CXX
 AC_STDC_HEADERS
 AC_PATH_PROGS(NASM, nasm nasmw, no)
 AC_C_BIGENDIAN
-AC_CHECK_DECLS(nanosleep)
+AC_CHECK_DECLS(nanosleep,,,[#include <time.h>])
 AC_CHECK_TYPES(struct timespec)
 
 case $host_cpu in