summaryrefslogtreecommitdiff
path: root/include/busybox.h
diff options
context:
space:
mode:
authorEric Andersen2002-03-16 02:12:30 +0000
committerEric Andersen2002-03-16 02:12:30 +0000
commit38ddbed4c1144370169611bd94d3b0662961dfbb (patch)
treee60b90af905c5da6f6717b0bbc9456ffb3ff09d8 /include/busybox.h
parent08ed1a73f12e26d5392778b7998d9b8fef28f018 (diff)
downloadbusybox-38ddbed4c1144370169611bd94d3b0662961dfbb.zip
busybox-38ddbed4c1144370169611bd94d3b0662961dfbb.tar.gz
Try to pull in PATH_MAX properly
Diffstat (limited to 'include/busybox.h')
-rw-r--r--include/busybox.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/busybox.h b/include/busybox.h
index d4b7964..ea58c0c 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