Index: native_client_sdk/src/libraries/nacl_io/html5fs/html5_fs_node.cc |
diff --git a/native_client_sdk/src/libraries/nacl_io/html5fs/html5_fs_node.cc b/native_client_sdk/src/libraries/nacl_io/html5fs/html5_fs_node.cc |
index bb3a8f5ac3524d3370ddc2f6f73b2b4aff2b9f08..40fde9dc47ccc3322c9453a7cbf9070caa5b544b 100644 |
--- a/native_client_sdk/src/libraries/nacl_io/html5fs/html5_fs_node.cc |
+++ b/native_client_sdk/src/libraries/nacl_io/html5fs/html5_fs_node.cc |
@@ -16,6 +16,7 @@ |
#include "nacl_io/filesystem.h" |
#include "nacl_io/getdents_helper.h" |
+#include "nacl_io/hash.h" |
#include "nacl_io/html5fs/html5_fs.h" |
#include "nacl_io/kernel_handle.h" |
#include "nacl_io/osdirent.h" |
@@ -129,8 +130,8 @@ Error Html5FsNode::GetDents(size_t offs, |
// The INO is based on the running hash of fully qualified path, so |
// a childs INO must be the parent directories hash, plus '/', plus |
// the filename. |
- ino_t child_ino = Html5Fs::HashPathSegment(stat_.st_ino, file_name, |
- file_name_length); |
+ ino_t child_ino = HashPathSegment(stat_.st_ino, file_name, |
+ file_name_length); |
helper.AddDirent(child_ino, file_name, file_name_length); |
} |