Commit 66179b1f authored by chandlerc's avatar chandlerc
Browse files

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.
parent 32123437
...@@ -45,6 +45,7 @@ ...@@ -45,6 +45,7 @@
#include <sys/syslimits.h> #include <sys/syslimits.h>
#include <unistd.h> #include <unistd.h>
#else #else
#include <limits.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <unistd.h> #include <unistd.h>
#endif // _WIN32_WCE or _WIN32 #endif // _WIN32_WCE or _WIN32
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment