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:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user