diff options
author | Colin Watson <cjwatson@debian.org> | 2019-01-26 17:16:04 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2019-01-26 17:16:04 +0000 |
commit | e3059f35410481ce018c70176aa1b40ddd5fc1dd (patch) | |
tree | 81d7a4c04adc9f4f9b640a29ba72750952d6b3d9 /configure.ac | |
parent | 1e158043f516f2f7c79c730b2ea41574a65acda1 (diff) |
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
<fcntl.h> unconditionally.
* src/man.c: Remove conditional definitions of R_OK and X_OK; Gnulib's
<unistd.h> handles these.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
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. |