diff options
author | Chris Dyer <cdyer@cs.cmu.edu> | 2012-09-03 17:41:43 +0100 |
---|---|---|
committer | Chris Dyer <cdyer@cs.cmu.edu> | 2012-09-03 17:41:43 +0100 |
commit | 063152d73f2814be32dfa8e927fa00caf1af1855 (patch) | |
tree | 4a3848e46776eea1e99b3def2639091c8f6439fb | |
parent | 9d412216579967822088b6439889c08d5354dd09 (diff) |
fix some broken lm code
-rw-r--r-- | klm/lm/build_binary.cc | 1 | ||||
-rw-r--r-- | klm/util/file_piece.cc | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/klm/lm/build_binary.cc b/klm/lm/build_binary.cc index 49901c9e..c2ca1101 100644 --- a/klm/lm/build_binary.cc +++ b/klm/lm/build_binary.cc @@ -8,6 +8,7 @@ #include <math.h> #include <stdlib.h> +#include <unistd.h> #ifdef WIN32 #include "util/getopt.hh" diff --git a/klm/util/file_piece.cc b/klm/util/file_piece.cc index 19a68728..af341d6d 100644 --- a/klm/util/file_piece.cc +++ b/klm/util/file_piece.cc @@ -11,6 +11,7 @@ #include <string> #include <limits> +#include <unistd.h> #include <assert.h> #include <ctype.h> #include <fcntl.h> |