From 5904c0e5f2631b198d47a1f4229bf93991daf3f7 Mon Sep 17 00:00:00 2001 From: Jonathan Hseu Date: Thu, 3 Nov 2016 11:13:50 -0800 Subject: [PATCH] Fix windows build. Change: 138101249 --- tensorflow/core/platform/windows/windows_file_system.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tensorflow/core/platform/windows/windows_file_system.h b/tensorflow/core/platform/windows/windows_file_system.h index 12b579bc86a..64da239d96d 100644 --- a/tensorflow/core/platform/windows/windows_file_system.h +++ b/tensorflow/core/platform/windows/windows_file_system.h @@ -16,6 +16,7 @@ limitations under the License. #ifndef TENSORFLOW_CORE_PLATFORM_WINDOWS_WINDOWS_FILE_SYSTEM_H_ #define TENSORFLOW_CORE_PLATFORM_WINDOWS_WINDOWS_FILE_SYSTEM_H_ +#include "tensorflow/core/lib/io/path.h" #include "tensorflow/core/platform/file_system.h" #ifdef PLATFORM_WINDOWS @@ -68,7 +69,7 @@ class LocalWinFileSystem : public WindowsFileSystem { public: string TranslateName(const string& name) const override { StringPiece scheme, host, path; - ParseURI(name, &scheme, &host, &path); + io::ParseURI(name, &scheme, &host, &path); return path.ToString(); } };