Also include <sys/select.h> where available
This commit is contained in:
parent
91da7e10c1
commit
012baa84b1
@ -70,7 +70,7 @@ AC_CHECK_HEADERS(unistd.h inttypes.h stdint.h endian.h libc.h)
|
||||
AC_CHECK_HEADERS(windows.h winsock2.h process.h)
|
||||
AC_CHECK_HEADERS(alloca.h malloc.h dlfcn.h regex.h sys/cdefs.h sys/socket.h)
|
||||
AC_CHECK_HEADERS(netinet/in.h arpa/inet.h sys/uio.h aio.h)
|
||||
AC_CHECK_HEADERS(sys/mman.h sys/wait.h sys/resource.h sys/time.h)
|
||||
AC_CHECK_HEADERS(sys/mman.h sys/wait.h sys/resource.h sys/select.h sys/time.h)
|
||||
AC_CHECK_HEADERS(io.h mach/task.h)
|
||||
|
||||
AC_CHECK_FUNCS(setenv waitpid setrlimit gettimeofday fork kill pipe _pipe)
|
||||
|
||||
@ -52,6 +52,9 @@
|
||||
#if defined HAVE_ALLOCA_H
|
||||
# include <alloca.h>
|
||||
#endif
|
||||
#if defined HAVE_SYS_SELECT_H
|
||||
# include <sys/select.h>
|
||||
#endif
|
||||
#if defined HAVE_SYS_TIME_H
|
||||
# include <sys/time.h>
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user