From e954d0fdfd110a15bf6cf149648def8a4603e71b Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Thu, 13 Jun 2013 02:25:58 +0200 Subject: [PATCH] configure.ac: fcntl.h is required. --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 3efe25d..7ef71f9 100644 --- a/configure.ac +++ b/configure.ac @@ -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 -- 2.45.2