summaryrefslogtreecommitdiff
path: root/src/gtest-filepath.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/gtest-filepath.cc')
-rw-r--r--src/gtest-filepath.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gtest-filepath.cc b/src/gtest-filepath.cc
index e590801..32fd3bc 100644
--- a/src/gtest-filepath.cc
+++ b/src/gtest-filepath.cc
@@ -48,6 +48,7 @@
#include <limits.h>
#include <sys/stat.h> // NOLINT
#include <unistd.h> // NOLINT
+#include <climits> // Some Linux distributions define PATH_MAX here.
#endif // _WIN32_WCE or _WIN32
#if GTEST_OS_WINDOWS