Try to pull in PATH_MAX properly
This commit is contained in:
parent
08ed1a73f1
commit
38ddbed4c1
@ -101,6 +101,10 @@ extern const struct BB_applet applets[];
|
|||||||
/* Pull in the utility routines from libbb */
|
/* Pull in the utility routines from libbb */
|
||||||
#include "libbb.h"
|
#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
|
#ifndef PATH_MAX
|
||||||
#define PATH_MAX 256
|
#define PATH_MAX 256
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user