diff options
author | Tetsuo Kiso <tetsuo-s@is.naist.jp> | 2012-03-20 19:18:44 +0400 |
---|---|---|
committer | Tetsuo Kiso <tetsuo-s@is.naist.jp> | 2012-03-20 19:18:44 +0400 |
commit | ae60572123e22fe56db0af0d6ce45cd54f3d2357 (patch) | |
tree | c96c7b16cdf7bfc59460144bbe971a52d28f0b4a /mert/GzFileBuf.cpp | |
parent | 6540c4d8ac51d7daa983ce153a8ffed50bef14c5 (diff) |
Fix a compile error I missed when developing on OS X.
Diffstat (limited to 'mert/GzFileBuf.cpp')
-rw-r--r-- | mert/GzFileBuf.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mert/GzFileBuf.cpp b/mert/GzFileBuf.cpp index 94a7136e8..9d3ccb588 100644 --- a/mert/GzFileBuf.cpp +++ b/mert/GzFileBuf.cpp @@ -2,6 +2,7 @@ #include <cstring> #include <cstdlib> +#include <cstdio> #include <iostream> GzFileBuf::GzFileBuf(const char* filename) { @@ -50,7 +51,7 @@ int GzFileBuf::underflow() { kBufSize - sizeof(int)); if (num <= 0) { // ERROR or EOF - return EOF; + return EOF; // NOTE: the macro EOF defined in stdio.h } // reset m_buf pointers |