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:
chandlerc 2008-10-21 05:05:14 +00:00
parent 321234377e
commit 66179b1fb5

View File

@ -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