--- src/base/linux_syscall_support.h	2015-08-26 17:57:39.688753425 +0200
+++ src/base/linux_syscall_support.h	2015-08-26 17:59:25.779755656 +0200
@@ -157,6 +157,7 @@
 #include <sys/time.h>
 #include <sys/types.h>
 #include <syscall.h>
+#include <fcntl.h>
 #include <unistd.h>
 #include <linux/unistd.h>
 #include <endian.h>
