summaryrefslogtreecommitdiff
path: root/klm
diff options
context:
space:
mode:
authorPatrick Simianer <simianer@cl.uni-heidelberg.de>2012-04-07 16:58:55 +0200
committerPatrick Simianer <simianer@cl.uni-heidelberg.de>2012-04-07 16:58:55 +0200
commit715245dc7042ac0dca4fea94031d7c6de8058033 (patch)
tree3a7ff0b88f2e113a08aef663d2487edec0b5f67f /klm
parent89211ab30937672d84a54fac8fa435805499e38d (diff)
parent6001b81eba37985d2e7dea6e6ebb488b787789a6 (diff)
Merge remote-tracking branch 'upstream/master'
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>