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 | e828fab2b485dc0e50d9b9d5c5a599db695ce252 (patch) | |
tree | eea7b3e21403b218835ad5b993e1cb4b46794ba3 | |
parent | 996d16a433c080ee23d265ee7454bf59c2427399 (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> |