summaryrefslogtreecommitdiff
path: root/klm
diff options
context:
space:
mode:
authorChris Dyer <cdyer@cs.cmu.edu>2012-03-23 17:47:31 -0400
committerChris Dyer <cdyer@cs.cmu.edu>2012-03-23 17:47:31 -0400
commitcd9569397f5eea93a12f2c2063411a449b5e79b7 (patch)
tree4213459b030e3dd28a9c2170273d0262eab0cf48 /klm
parent41c404d0139dc705835e65f04b82df369792546b (diff)
fix includes
Diffstat (limited to 'klm')
-rw-r--r--klm/util/file.cc1
-rw-r--r--klm/util/mmap.cc1
2 files changed, 2 insertions, 0 deletions
diff --git a/klm/util/file.cc b/klm/util/file.cc
index 176737fa..de206bc8 100644
--- a/klm/util/file.cc
+++ b/klm/util/file.cc
@@ -10,6 +10,7 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <stdint.h>
+#include <unistd.h>
#if defined(_WIN32) || defined(_WIN64)
#include <windows.h>
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>