diff --git a/configure.ac b/configure.ac index 271d1353..b92329a0 100644 --- a/configure.ac +++ b/configure.ac @@ -37,7 +37,6 @@ AM_PROG_LIBTOOL dnl Checks for libraries. dnl Checks for header files. -AC_HEADER_SYS_WAIT AC_HEADER_STDBOOL AC_CHECK_HEADERS(crypt.h errno.h fcntl.h limits.h unistd.h sys/time.h utmp.h \ diff --git a/lib/defines.h b/lib/defines.h index e4937e1c..afe86398 100644 --- a/lib/defines.h +++ b/lib/defines.h @@ -68,15 +68,7 @@ extern char * textdomain (const char * domainname); #include #include -#if HAVE_SYS_WAIT_H -# include -#endif -#ifndef WEXITSTATUS -# define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) -#endif -#ifndef WIFEXITED -# define WIFEXITED(stat_val) (((stat_val) & 255) == 0) -#endif +#include #if HAVE_UNISTD_H # include