Skip to content
Snippets Groups Projects
Commit e2ad281f authored by scjones's avatar scjones
Browse files

* sunos57-select.m4: Need <sys/time.h> for struct timeval.

parent 2228aa1a
No related branches found
No related tags found
No related merge requests found
2008-11-13 Larry Jones <lawrence.jones@siemens.com>
* sunos57-select.m4: Need <sys/time.h> for struct timeval.
2008-09-15 Derek Price <derek@ximbiot.com> 2008-09-15 Derek Price <derek@ximbiot.com>
Update from GNULIB. Update from GNULIB.
......
...@@ -13,12 +13,14 @@ dnl function that works around the problem. ...@@ -13,12 +13,14 @@ dnl function that works around the problem.
AC_DEFUN([ccvs_FUNC_SELECT], AC_DEFUN([ccvs_FUNC_SELECT],
[ [
AC_REQUIRE([gl_HEADER_SYS_TIME_H])
AC_CHECK_HEADERS([fcntl.h]) AC_CHECK_HEADERS([fcntl.h])
AC_CACHE_CHECK([whether select hangs on /dev/null fd when timeout is NULL], AC_CACHE_CHECK([whether select hangs on /dev/null fd when timeout is NULL],
ccvs_cv_func_select_hang, ccvs_cv_func_select_hang,
[AC_RUN_IFELSE([AC_LANG_PROGRAM([[ [AC_RUN_IFELSE([AC_LANG_PROGRAM([[
#include <stdio.h> #include <stdio.h>
#include <sys/select.h> #include <sys/select.h>
#include <sys/time.h>
#ifdef HAVE_FCNTL_H #ifdef HAVE_FCNTL_H
# include <fcntl.h> # include <fcntl.h>
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment