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