Index: uspace/srv/fs/fat/fat_dentry.c
===================================================================
--- uspace/srv/fs/fat/fat_dentry.c	(revision 606c36909b6993ba6c2ab0208a9d54e4aa98d7d3)
+++ uspace/srv/fs/fat/fat_dentry.c	(revision 341b5155553dd6d613629bd6d5bc76474f5692e8)
@@ -43,4 +43,5 @@
 #include <byteorder.h>
 #include <assert.h>
+#include <unistd.h>
 
 /** Compare path component with the name read from the dentry.
