Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-03-16 05:12:30 +0300
committerEric Andersen <andersen@codepoet.org>2002-03-16 05:12:30 +0300
commit38ddbed4c1144370169611bd94d3b0662961dfbb (patch)
treee60b90af905c5da6f6717b0bbc9456ffb3ff09d8 /include/busybox.h
parent08ed1a73f12e26d5392778b7998d9b8fef28f018 (diff)
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 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