diff options
author | Kenneth Heafield <kheafiel@cluster01.lti.ece.cmu.local> | 2012-05-27 15:00:41 -0400 |
---|---|---|
committer | Kenneth Heafield <kheafiel@cluster01.lti.ece.cmu.local> | 2012-05-27 15:00:41 -0400 |
commit | ff497ae4fa2e96f3b0970647029082764b890acd (patch) | |
tree | a43a61b2315f6a17235bc9c019a267dd337c40ce /klm/util/mmap.cc | |
parent | ab38dc57a6a64aa7ef60a845a4176e18e1ac7f27 (diff) |
Guard unistd.h for windows :-(
Diffstat (limited to 'klm/util/mmap.cc')
-rw-r--r-- | klm/util/mmap.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/klm/util/mmap.cc b/klm/util/mmap.cc index e0d2570b..576fd4cc 100644 --- a/klm/util/mmap.cc +++ b/klm/util/mmap.cc @@ -14,12 +14,12 @@ #include <sys/types.h> #include <sys/stat.h> #include <stdlib.h> -#include <unistd.h> #if defined(_WIN32) || defined(_WIN64) #include <windows.h> #include <io.h> #else +#include <unistd.h> #include <sys/mman.h> #endif |