--- a/src/common/os/os_utils.h	2016-04-14 16:07:29.000000000 +0200
+++ b/src/common/os/os_utils.h	2019-02-15 02:22:49.698708718 +0100
@@ -40,6 +40,7 @@
 #define mode_t int
 #define DEFAULT_OPEN_MODE (_S_IREAD | _S_IWRITE)
 #else
+#include <sys/types.h>
 #define DEFAULT_OPEN_MODE (0666)
 #endif
 
