Index: uspace/srv/fs/fat/fat_dentry.h
===================================================================
--- uspace/srv/fs/fat/fat_dentry.h	(revision 3e6a98c595287c43d200d28d97f57755342be117)
+++ uspace/srv/fs/fat/fat_dentry.h	(revision db71e2af5cdfe169de296e6f39b3e5eda7a966f6)
@@ -37,4 +37,5 @@
 #include <stdint.h>
 #include <stdbool.h>
+#include <sys/types.h>
 
 #define IS_D_CHAR(ch) (isalnum(ch) || ch == '_')
@@ -132,5 +133,4 @@
 } __attribute__ ((packed)) fat_dentry_t;
 
-
 extern int fat_dentry_namecmp(char *, const char *);
 extern void fat_dentry_name_get(const fat_dentry_t *, char *);
@@ -139,5 +139,5 @@
 extern uint8_t fat_dentry_chksum(uint8_t *);
 
-extern size_t fat_lfn_str_nlength(const uint16_t *, size_t);
+extern size_t fat_lfn_str_nlength(const unaligned_uint16_t *, size_t);
 extern size_t fat_lfn_size(const fat_dentry_t *);
 extern size_t fat_lfn_get_entry(const fat_dentry_t *, uint16_t *, size_t *);
