fix PATH_MAX error, thanks CU|CUdyin

This commit is contained in:
merlijn 2010-08-07 19:50:16 +02:00
parent 9ca6835a26
commit 5dffa316df

View File

@ -34,6 +34,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// to get PATH_MAX
#include <stdio.h>
#if defined (__linux__) || defined (__APPLE__)
#include <limits.h>
#include <dirent.h>
#include <unistd.h>
#else