mirror of
https://github.com/google/googletest.git
synced 2025-04-06 05:55:04 +00:00
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.
This commit is contained in:
parent
95a21feb8c
commit
145ec2a153
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue