kauth: Tidy header includes
[openafs.git] / acinclude.m4
index 9af652c..457c55f 100644 (file)
@@ -847,6 +847,9 @@ case $AFS_SYSNAME in *_linux* | *_umlinux*)
                 AC_CHECK_LINUX_FUNC([pagevec_lru_add_file],
                                     [#include <linux/pagevec.h>],
                                     [__pagevec_lru_add_file(NULL);])
+                AC_CHECK_LINUX_FUNC([path_lookup],
+                                    [#include <linux/namei.h>],
+                                    [path_lookup(NULL, 0, NULL);])
                 AC_CHECK_LINUX_FUNC([rcu_read_lock],
                                     [#include <linux/rcupdate.h>],
                                     [rcu_read_lock();])
@@ -1213,6 +1216,7 @@ AC_HEADER_STDC
 AC_HEADER_SYS_WAIT
 AC_HEADER_DIRENT
 AC_CHECK_HEADERS([ \
+                  arpa/inet.h \
                   arpa/nameser.h \
                   curses.h\
                   direct.h \
@@ -1317,7 +1321,7 @@ AC_SUBST(BUILD_LOGIN)
 
 AC_CHECK_FUNCS([ \
        arc4random \
-       flock \
+       fcntl \
        fseeko64 \
        ftello64 \
        getcwd \
@@ -1389,6 +1393,7 @@ AC_REPLACE_FUNCS([ \
        erealloc \
        err \
        errx \
+       flock \
        getdtablesize \
        getopt \
        getprogname \