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