Index: uspace/lib/posix/source/internal/common.h
===================================================================
--- uspace/lib/posix/source/internal/common.h	(revision 03289871c675b83ed939beb60680fb3245e1eea6)
+++ uspace/lib/posix/source/internal/common.h	(revision f644472b977cc4e82d0187fb58bd63ad7bd5962a)
@@ -38,4 +38,6 @@
 #include <stdio.h>
 #include <stdlib.h>
+#include <sys/types.h>
+#include <vfs/vfs.h>
 
 #define not_implemented() do { \
@@ -57,4 +59,6 @@
 })
 
+extern aoff64_t posix_pos[MAX_OPEN_FILES];
+
 #endif /* LIBPOSIX_COMMON_H_ */
 
