configure.ac: fcntl.h is required.

This commit is contained in:
Simon Ruderich
2013-06-13 02:25:58 +02:00
parent 52b4e91146
commit e954d0fdfd

View File

@@ -36,7 +36,9 @@ if test "x$GCC" = xyes; then
CFLAGS="-Wall -Wextra -Wconversion $CFLAGS"
fi
AC_CHECK_HEADERS([fcntl.h error.h])
AC_CHECK_HEADERS([error.h])
AC_CHECK_HEADERS([fcntl.h],
[],[AC_MSG_ERROR([header is required])])
AC_TYPE_PID_T
AC_TYPE_SIZE_T