From 19f4f24507c4dbec6a5cd841d59c4b813ab4be73 Mon Sep 17 00:00:00 2001 From: Will Estes Date: Wed, 26 Mar 2003 21:43:48 +0000 Subject: [PATCH] check for sys/wait.h since we use wait(2) --- configure.in | 3 ++- flexdef.h | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 1b51632..63ce572 100644 --- a/configure.in +++ b/configure.in @@ -65,7 +65,8 @@ AC_CHECK_LIB(m, log) dnl checks for header files AC_HEADER_STDC -AC_CHECK_HEADERS(unistd.h stdbool.h netinet/in.h limits.h sys/params.h) +AC_CHECK_HEADERS(unistd.h stdbool.h netinet/in.h limits.h) +AC_CHECK_HEADERS( sys/wait.h sys/params.h) AC_CHECK_HEADERS(cunistd) dnl checks for types diff --git a/flexdef.h b/flexdef.h index 6c6fe0b..d704cf1 100644 --- a/flexdef.h +++ b/flexdef.h @@ -60,6 +60,9 @@ #ifdef HAVE_SYS_PARAMS_H #include #endif +#ifdef HAVE_SYS_WAIT_H +#include +#endif #ifdef HAVE_STDBOOL_H #include #else -- 2.40.0