From 145ec2a153e0c1f30c4b9bb78ab989ed4254b323 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. --- trunk/src/gtest-filepath.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/trunk/src/gtest-filepath.cc b/trunk/src/gtest-filepath.cc index fdb05629..fc4b7873 100644 --- a/trunk/src/gtest-filepath.cc +++ b/trunk/src/gtest-filepath.cc @@ -45,6 +45,7 @@ #include #include #else +#include #include #include #endif // _WIN32_WCE or _WIN32