diff --git a/configure.in b/configure.in
index 3a9d71b..80a6217 100644
--- a/configure.in
+++ b/configure.in
@@ -225,8 +225,8 @@ AC_HELP_STRING([--disable-debug],[Disable debug options]),
 
 # Checks for header files.
 # AC_HEADER_STDC
-AC_CHECK_HEADERS([errno.h fcntl.h stdio.h stdlib.h unistd.h])
-AC_CHECK_HEADERS([sys/uio.h sys/select.h sys/socket.h sys/ioctl.h])
+AC_CHECK_HEADERS([errno.h fcntl.h stdio.h stdlib.h unistd.h sys/uio.h])
+AC_CHECK_HEADERS([sys/select.h sys/socket.h sys/ioctl.h sys/time.h])
 AC_CHECK_FUNCS(poll gettimeofday select)
 
 # Checks for typedefs, structures, and compiler characteristics.