Pārlūkot izejas kodu

r9478@Kushana: nickm | 2006-11-05 10:52:29 -0500
add includes to AC_CHECK_MEMBERS test for timeval.tv_sec.


svn:r8906

Nick Mathewson 18 gadi atpakaļ
vecāks
revīzija
00fdcf27f5
1 mainītis faili ar 7 papildinājumiem un 1 dzēšanām
  1. 7 1
      configure.in

+ 7 - 1
configure.in

@@ -503,7 +503,13 @@ fi
 
 
 AC_FUNC_FSEEKO
 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 In case we aren't given a working stdint.h, we'll need to grow our own.
 dnl Watch out.
 dnl Watch out.