Adds sys/wait.h in the list of include used.

This commit is contained in:
Andrea Mazzoleni 2015-01-02 23:00:19 +01:00
parent 04965646d3
commit d06a586e84
2 changed files with 5 additions and 1 deletions

View file

@ -153,6 +153,10 @@
#include <sys/stat.h>
#endif
#if HAVE_SYS_WAIT_H
#include <sys/wait.h>
#endif
#if HAVE_GETOPT_H
#include <getopt.h>
#endif

View file

@ -26,7 +26,7 @@ AC_HEADER_TIME
AC_CHECK_HEADERS([fcntl.h stddef.h stdint.h stdlib.h string.h limits.h])
AC_CHECK_HEADERS([unistd.h getopt.h fnmatch.h io.h inttypes.h byteswap.h])
AC_CHECK_HEADERS([pthread.h])
AC_CHECK_HEADERS([sys/time.h sys/file.h sys/ioctl.h sys/vfs.h sys/statfs.h sys/param.h sys/mount.h])
AC_CHECK_HEADERS([sys/time.h sys/wait.h sys/file.h sys/ioctl.h sys/vfs.h sys/statfs.h sys/param.h sys/mount.h])
AC_CHECK_HEADERS([linux/fiemap.h linux/fs.h mach/mach_time.h])
dnl Checks for typedefs, structures, and compiler characteristics.