rx: Tidy header includes
[openafs.git] / acinclude.m4
index 9f3390a..8fd379b 100644 (file)
@@ -848,7 +848,8 @@ case $AFS_SYSNAME in *_linux* | *_umlinux*)
                                     [#include <linux/pagevec.h>],
                                     [__pagevec_lru_add_file(NULL);])
                 AC_CHECK_LINUX_FUNC([path_lookup],
-                                    [#include <linux/namei.h>],
+                                    [#include <linux/fs.h>
+                                     #include <linux/namei.h>],
                                     [path_lookup(NULL, 0, NULL);])
                 AC_CHECK_LINUX_FUNC([rcu_read_lock],
                                     [#include <linux/rcupdate.h>],
@@ -1216,6 +1217,7 @@ AC_HEADER_STDC
 AC_HEADER_SYS_WAIT
 AC_HEADER_DIRENT
 AC_CHECK_HEADERS([ \
+                  arpa/inet.h \
                   arpa/nameser.h \
                   curses.h\
                   direct.h \
@@ -1223,6 +1225,7 @@ AC_CHECK_HEADERS([ \
                   errno.h \
                   fcntl.h \
                   grp.h \
+                  math.h \
                   mntent.h \
                   ncurses.h \
                   netdb.h \
@@ -1251,6 +1254,7 @@ AC_CHECK_HEADERS([ \
                   sys/pag.h \
                   sys/param.h \
                   sys/resource.h \
+                  sys/select.h \
                   sys/statfs.h \
                   sys/statvfs.h \
                   sys/socket.h \
@@ -1367,11 +1371,14 @@ AC_CHECK_FUNCS([ \
        inet_aton \
        inet_ntop \
        inet_pton \
+       putenv \
        readv \
+       setenv \
        strdup \
        strftime \
        strndup \
        strsep \
+       unsetenv \
 ])
 
 dnl Functions that are in objects that we always build from libroken