diff --git a/src/modules/files/configure.in b/src/modules/files/configure.in
index f7dbc486735f905cac3c901119d228ef51ba7449..489e39a2e25f432a880765f0de56e780cb009075 100644
--- a/src/modules/files/configure.in
+++ b/src/modules/files/configure.in
@@ -3,13 +3,13 @@ AC_CONFIG_HEADER(file_machine.h)
 
 sinclude(../module_configure.in)
 
-AC_HAVE_HEADERS(arpa/inet.h sys/socketvar.h netinet/in.h \
- sys/socket.h sys/stream.h sys/protosw.h netdb.h)
+AC_HAVE_HEADERS(arpa/inet.h sys/socketvar.h netinet/in.h sys/mount.h ustat.h\
+ sys/socket.h sys/stream.h sys/protosw.h netdb.h sys/statvfs.h sys/vfs.h)
 AC_HEADER_DIRENT
 AC_CHECK_LIB(bind, __inet_ntoa)
 AC_CHECK_LIB(socket, socket)
 
-AC_HAVE_FUNCS(getwd perror fork1 readdir_r)
+AC_HAVE_FUNCS(getwd perror fork1 readdir_r statvfs statfs ustat)
 
 if test x$ac_cv_func_readdir_r = xyes ; then
   AC_MSG_CHECKING(if readdir_r takes 2(Solaris & HPUX) or 3(Posix) arguments)