From e3059f35410481ce018c70176aa1b40ddd5fc1dd Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Sat, 26 Jan 2019 17:16:04 +0000 Subject: Simplify includes using Gnulib's fcntl module * bootstrap.conf (gnulib_modules): Add fcntl. * configure.ac (AC_CHECK_HEADERS): Remove check for fcntl.h. * libdb/db_btree.c, libdb/db_ndbm.c, libdb/mydbm.h, src/man.c: Include unconditionally. * src/man.c: Remove conditional definitions of R_OK and X_OK; Gnulib's handles these. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 9051687b..14ee3195 100644 --- a/configure.ac +++ b/configure.ac @@ -339,7 +339,7 @@ then AC_MSG_ERROR([flex is required when building from revision control]) fi gl_INIT -AC_CHECK_HEADERS([fcntl.h sys/file.h linux/fiemap.h]) +AC_CHECK_HEADERS([sys/file.h linux/fiemap.h]) AC_CHECK_FUNCS([lchown posix_fadvise]) # Internationalization support. -- cgit v1.2.3