Try to pull in PATH_MAX properly

This commit is contained in:
Eric Andersen 2002-03-16 02:12:30 +00:00
parent 08ed1a73f1
commit 38ddbed4c1

View File

@ -101,6 +101,10 @@ extern const struct BB_applet applets[];
/* Pull in the utility routines from libbb */
#include "libbb.h"
/* Try to pull in PATH_MAX */
#include <limits.h>
/* for PATH_MAX on systems that don't have it in limits.h */
#include <sys/param.h>
#ifndef PATH_MAX
#define PATH_MAX 256
#endif