diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-01-07 02:14:14 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-01-07 02:14:14 +0100 |
commit | f7ad54a301e4ae8dceab54d3ab3934e56c1134ea (patch) | |
tree | 1b9d05965d6503704dce71730e04b8a1548a12a8 /configure.ac | |
parent | a7e07206021c6484a8d33c6ee156ecfb5b90534c (diff) |
util: make use of kcmp() to compare fds, if it is available
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 0496f5e3ed..3dd40c3578 100644 --- a/configure.ac +++ b/configure.ac @@ -310,7 +310,7 @@ LIBS="$save_LIBS" AC_CHECK_FUNCS([memfd_create]) AC_CHECK_FUNCS([__secure_getenv secure_getenv]) -AC_CHECK_DECLS([gettid, pivot_root, name_to_handle_at, setns, getrandom, renameat2, LO_FLAGS_PARTSCAN], +AC_CHECK_DECLS([gettid, pivot_root, name_to_handle_at, setns, getrandom, renameat2, kcmp, LO_FLAGS_PARTSCAN], [], [], [[ #include <sys/types.h> #include <unistd.h> |