diff options
author | chandlerc <chandlerc@861a406c-534a-0410-8894-cb66d6ee9925> | 2008-10-21 05:05:14 +0000 |
---|---|---|
committer | chandlerc <chandlerc@861a406c-534a-0410-8894-cb66d6ee9925> | 2008-10-21 05:05:14 +0000 |
commit | 66179b1fb5b6943166d4209182ce869e984cf388 (patch) | |
tree | d638d0955548959a0bce0b5b059925ff7c524349 | |
parent | 321234377e38da6548721408d284ab4be08cb630 (diff) | |
download | googletest-66179b1fb5b6943166d4209182ce869e984cf388.tar.gz googletest-66179b1fb5b6943166d4209182ce869e984cf388.tar.bz2 googletest-66179b1fb5b6943166d4209182ce869e984cf388.zip |
On some Linux distros, you need to explicitly #include <limits.h> to get
the definition of PATH_MAX. This patch adds it in the appropriate place.
-rw-r--r-- | src/gtest-filepath.cc | 1 |
1 files changed, 1 insertions, 0 deletions
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 <sys/syslimits.h> #include <unistd.h> #else +#include <limits.h> #include <sys/stat.h> #include <unistd.h> #endif // _WIN32_WCE or _WIN32 |