aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-03-16 02:12:30 +0000
committerEric Andersen <andersen@codepoet.org>2002-03-16 02:12:30 +0000
commit38ddbed4c1144370169611bd94d3b0662961dfbb (patch)
treee60b90af905c5da6f6717b0bbc9456ffb3ff09d8
parent08ed1a73f12e26d5392778b7998d9b8fef28f018 (diff)
downloadbusybox-w32-38ddbed4c1144370169611bd94d3b0662961dfbb.tar.gz
busybox-w32-38ddbed4c1144370169611bd94d3b0662961dfbb.tar.bz2
busybox-w32-38ddbed4c1144370169611bd94d3b0662961dfbb.zip
Try to pull in PATH_MAX properly
-rw-r--r--include/busybox.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/busybox.h b/include/busybox.h
index d4b7964e0..ea58c0c28 100644
--- a/include/busybox.h
+++ b/include/busybox.h
@@ -101,6 +101,10 @@ extern const struct BB_applet applets[];
101/* Pull in the utility routines from libbb */ 101/* Pull in the utility routines from libbb */
102#include "libbb.h" 102#include "libbb.h"
103 103
104/* Try to pull in PATH_MAX */
105#include <limits.h>
106/* for PATH_MAX on systems that don't have it in limits.h */
107#include <sys/param.h>
104#ifndef PATH_MAX 108#ifndef PATH_MAX
105#define PATH_MAX 256 109#define PATH_MAX 256
106#endif 110#endif