diff --git a/configure.ac b/configure.ac index c17234f2a..36153c5ab 100644 --- a/configure.ac +++ b/configure.ac @@ -144,9 +144,8 @@ esac AC_PROG_INSTALL AC_CHECK_HEADERS([unistd.h string.h memory.h limits.h malloc.h \ utime.h fcntl.h sys/statfs.h sys/vfs.h sys/time.h \ - sys/timeb.h sys/select.h sys/ioctl.h stropts.h arpa/inet.h \ - security/pam_misc.h sys/socket.h sys/sysmacros.h sys/types.h \ - sys/mkdev.h wchar.h wctype.h]) + sys/select.h sys/ioctl.h stropts.h arpa/inet.h \ + sys/socket.h sys/sysmacros.h sys/types.h sys/mkdev.h]) AC_HEADER_TIME AC_HEADER_DIRENT diff --git a/lib/vfs/vfs.h b/lib/vfs/vfs.h index d62e9efdb..3e9e4e2e0 100644 --- a/lib/vfs/vfs.h +++ b/lib/vfs/vfs.h @@ -10,7 +10,9 @@ #include #include #include +#ifdef HAVE_UTIME_H #include +#endif #include #include #include