  #include <sys/stat.h>
  #include <thread>
 -#include <unistd.h> // ftruncate
-+#include "unistd.h"
++#include "unistd.h" // ftruncate
  #include <unordered_map>
  #include <unordered_set>
  #include <vector>

diff --git a/fastBPE/fastBPE.hpp b/fastBPE/fastBPE.hpp
index 099ae80..09962c2 100644
--- a/fastBPE/fastBPE.hpp
+++ b/fastBPE/fastBPE.hpp
@@ -12,10 +12,10 @@

+#endif
+
+#endif /*  _SYS_MMAN_H_ */
diff --git a/fastBPE/unistd.h b/fastBPE/unistd.h
new file mode 100644
index 0000000..8655b1d
