From 66179b1fb5b6943166d4209182ce869e984cf388 Mon Sep 17 00:00:00 2001 From: chandlerc Date: Tue, 21 Oct 2008 05:05:14 +0000 Subject: [PATCH] On some Linux distros, you need to explicitly #include to get the definition of PATH_MAX. This patch adds it in the appropriate place. --- src/gtest-filepath.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gtest-filepath.cc b/src/gtest-filepath.cc index fdb05629..fc4b7873 100644 --- a/src/gtest-filepath.cc +++ b/src/gtest-filepath.cc @@ -45,6 +45,7 @@ #include #include #else +#include #include #include #endif // _WIN32_WCE or _WIN32