From a6210d061bb79e5c10ed88c99111df51e52e4472 Mon Sep 17 00:00:00 2001 From: Jeff Brown Date: Fri, 19 Nov 2010 13:13:07 -0800 Subject: Fix SDK build on Windows due to use of mmap. Change-Id: Id4bd9a6f932285c93c5853e540efc20b99876564 --- include/utils/Tokenizer.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/utils/Tokenizer.h b/include/utils/Tokenizer.h index bfe8923..21e58e6 100644 --- a/include/utils/Tokenizer.h +++ b/include/utils/Tokenizer.h @@ -19,6 +19,7 @@ #include #include +#include #include namespace android { @@ -27,7 +28,7 @@ namespace android { * A simple tokenizer for loading and parsing ASCII text files line by line. */ class Tokenizer { - Tokenizer(const String8& filename, const char* buffer, size_t length); + Tokenizer(const String8& filename, FileMap* fileMap, const char* buffer, size_t length); public: ~Tokenizer(); @@ -108,6 +109,7 @@ private: Tokenizer(const Tokenizer& other); // not copyable String8 mFilename; + FileMap* mFileMap; const char* mBuffer; size_t mLength; -- cgit v1.1