From 9b7b3121c56ee7393da2254eafd6a9f4d98705da Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Sat, 2 Dec 2017 21:15:17 +0100 Subject: [PATCH] configure: Check for unistd.h Signed-off-by: Joachim Nilsson --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 9c79425..7f3b170 100644 --- a/configure.ac +++ b/configure.ac @@ -20,7 +20,7 @@ AC_HEADER_STAT AC_HEADER_STDC # Check for malloc.h instead of AC_FUNC_MALLOC/REALLOC AIX and others # 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? AC_HEADER_TIOCGWINSZ