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 097f4219b7d1531776dbf497f0508aed611d45a5)
@@ -43,4 +43,5 @@
 #include <byteorder.h>
 #include <assert.h>
+#include <unistd.h>
 
 /** Compare path component with the name read from the dentry.
