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-38ddbed4c1144370169611bd94d3b0662961dfbb.tar.gz
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[];
/* 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