@ -574,7 +574,7 @@ AC_TYPE_SIGNAL
dnl Check for a few libraries and headers:
AC_HEADER_DIRENT
AC_CHECK_HEADERS(ctype.h pwd.h fcntl.h sys/ioctl.h stropts.h)
AC_CHECK_HEADERS(unistd.h ctype.h pwd.h fcntl.h sys/ioctl.h stropts.h)
AC_HEADER_SYS_WAIT
AC_HEADER_STAT
@ -127,6 +127,7 @@ struct timeb timebegin;
#endif
#ifdef HAVE_UNISTD_H
#include <sys/types.h>
#include <unistd.h>