--- src/dav_coda.c +++ src/dav_coda.c @@ -52,6 +52,9 @@ #ifdef HAVE_SYS_TYPES_H #include #endif +#ifdef HAVE_SYS_STAT_H +#include +#endif #include "defaults.h" #include "mount_davfs.h" --- src/dav_fuse.c +++ src/dav_fuse.c @@ -41,6 +41,12 @@ #ifdef HAVE_UNISTD_H #include #endif +#ifdef HAVE_SYS_TYPES_H +#include +#endif +#ifdef HAVE_SYS_STAT_H +#include +#endif #include "defaults.h" #include "mount_davfs.h" --- src/kernel_interface.c +++ src/kernel_interface.c @@ -44,6 +44,12 @@ #ifdef HAVE_UNISTD_H #include #endif +#ifdef HAVE_SYS_TYPES_H +#include +#endif +#ifdef HAVE_SYS_STAT_H +#include +#endif #ifdef HAVE_SYS_MOUNT_H #include --- src/webdav.c +++ src/webdav.c @@ -47,6 +47,12 @@ #ifdef HAVE_UNISTD_H #include #endif +#ifdef HAVE_SYS_TYPES_H +#include +#endif +#ifdef HAVE_SYS_STAT_H +#include +#endif #include #include