--- a/src/kernel_interface.c+++ b/src/kernel_interface.c@@ -45,6 +45,8 @@ #include <unistd.h> #endif +#include <sys/types.h>+ #ifdef HAVE_SYS_MOUNT_H #include <sys/mount.h> #endif