looking for unistd.h & usage

This commit is contained in:
dwarning 2009-08-04 19:27:28 +00:00
parent 3e5ae103ca
commit 7ce77bbbca
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -127,6 +127,7 @@ struct timeb timebegin;
#endif
#ifdef HAVE_UNISTD_H
#include <sys/types.h>
#include <unistd.h>
#endif