--- src/common/os/os_utils.h	2016-09-27 10:03:58.000000000 +0200
+++ src/common/os/os_utils.h	2017-02-04 03:05:37.357148694 +0100
@@ -29,6 +29,9 @@
 #define INCLUDE_OS_FILE_UTILS_H
 
 #include <stdio.h>
+#if !defined(__GLIBC__)
+#include <fcntl.h>
+#endif
 
 #include "../common/classes/fb_string.h"
 #include "../common/StatusArg.h"
