diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2004-05-03 20:15:44 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2004-05-03 20:15:44 +0000 |
commit | 11ee0ab5f539dacd4d67f6e58828611c3d32df23 (patch) | |
tree | 84054f8c25dc734182c262ab36fc5ac90f380a4e /lib/autoconf/specific.m4 | |
parent | b3b81694da563f4d807c1a348ac01000d9b4a598 (diff) | |
download | autoconf-11ee0ab5f539dacd4d67f6e58828611c3d32df23.tar.gz |
Port to C99, which requires that 'exit' be declared.
Diffstat (limited to 'lib/autoconf/specific.m4')
-rw-r--r-- | lib/autoconf/specific.m4 | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/autoconf/specific.m4 b/lib/autoconf/specific.m4 index 6e9d9647..6f553fd6 100644 --- a/lib/autoconf/specific.m4 +++ b/lib/autoconf/specific.m4 @@ -255,18 +255,14 @@ old systems that lack `sigaction' and `SA_RESTART'. Don't bother with this macro unless you need to support very old systems like 4.2BSD and SVR3.])dnl AC_REQUIRE([AC_HEADER_SYS_WAIT])dnl -AC_CHECK_HEADERS(unistd.h) AC_CACHE_CHECK(for restartable system calls, ac_cv_sys_restartable_syscalls, [AC_RUN_IFELSE([AC_LANG_SOURCE( [/* Exit 0 (true) if wait returns something other than -1, i.e. the pid of the child, which means that wait was restarted after getting the signal. */ -#include <sys/types.h> +AC_INCLUDES_DEFAULT #include <signal.h> -#if HAVE_UNISTD_H -# include <unistd.h> -#endif #if HAVE_SYS_WAIT_H # include <sys/wait.h> #endif |