summaryrefslogtreecommitdiff
path: root/klm/util/mmap.cc
diff options
context:
space:
mode:
Diffstat (limited to 'klm/util/mmap.cc')
-rw-r--r--klm/util/mmap.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/klm/util/mmap.cc b/klm/util/mmap.cc
index 3b1c58b8..2db35b56 100644
--- a/klm/util/mmap.cc
+++ b/klm/util/mmap.cc
@@ -14,6 +14,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
+#include <unistd.h>
#if defined(_WIN32) || defined(_WIN64)
#include <windows.h>