summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen2002-01-26 23:58:22 +0000
committerEric Andersen2002-01-26 23:58:22 +0000
commit20d739adf7fb1542015537dbdb969689118ceb02 (patch)
treed5f2b1851ee214be5642707bcea0b5985389fe96
parent53a2299230976b93d3bbe81ad92dad8c23d0b271 (diff)
downloadbusybox-20d739adf7fb1542015537dbdb969689118ceb02.zip
busybox-20d739adf7fb1542015537dbdb969689118ceb02.tar.gz
If PATH_MAX isn't defined, define it outselves
-rw-r--r--include/busybox.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/busybox.h b/include/busybox.h
index 87cebc3..d4b7964 100644
--- a/include/busybox.h
+++ b/include/busybox.h
@@ -101,6 +101,8 @@ extern const struct BB_applet applets[];
/* Pull in the utility routines from libbb */
#include "libbb.h"
-
+#ifndef PATH_MAX
+#define PATH_MAX 256
+#endif
#endif /* _BB_INTERNAL_H_ */