summaryrefslogtreecommitdiff
path: root/klm/util/file_piece.cc
diff options
context:
space:
mode:
authorChris Dyer <cdyer@cs.cmu.edu>2012-09-03 17:41:43 +0100
committerChris Dyer <cdyer@cs.cmu.edu>2012-09-03 17:41:43 +0100
commit063152d73f2814be32dfa8e927fa00caf1af1855 (patch)
tree4a3848e46776eea1e99b3def2639091c8f6439fb /klm/util/file_piece.cc
parent9d412216579967822088b6439889c08d5354dd09 (diff)
fix some broken lm code
Diffstat (limited to 'klm/util/file_piece.cc')
-rw-r--r--klm/util/file_piece.cc1
1 files changed, 1 insertions, 0 deletions
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>