configure: Check for unistd.h

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson 2017-12-02 21:15:17 +01:00
parent 53b160f6a1
commit 9b7b3121c5

View File

@ -20,7 +20,7 @@ AC_HEADER_STAT
AC_HEADER_STDC AC_HEADER_STDC
# Check for malloc.h instead of AC_FUNC_MALLOC/REALLOC AIX and others # Check for malloc.h instead of AC_FUNC_MALLOC/REALLOC AIX and others
# mess up the traditional malloc check. # mess up the traditional malloc check.
AC_CHECK_HEADERS([malloc.h signal.h stdlib.h string.h termcap.h termio.h termios.h sgtty.h]) AC_CHECK_HEADERS([malloc.h signal.h stdlib.h string.h termcap.h termio.h termios.h sgtty.h unistd.h])
# In termios.h or in sys/ioctl.g? # In termios.h or in sys/ioctl.g?
AC_HEADER_TIOCGWINSZ AC_HEADER_TIOCGWINSZ