summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen2001-08-22 05:35:39 +0000
committerEric Andersen2001-08-22 05:35:39 +0000
commitc0f9d0dce7a4d1ef1b2fd19f98fc0ec94c3887e4 (patch)
tree90f42d523e30fbb450fd9ad95ec9b9bc7f86456d
parent5d60a462694ae4ab24fdbc903859949886c90805 (diff)
downloadbusybox-c0f9d0dce7a4d1ef1b2fd19f98fc0ec94c3887e4.zip
busybox-c0f9d0dce7a4d1ef1b2fd19f98fc0ec94c3887e4.tar.gz
Add #include <sys/param.h> to ensure PATH_MAX is defined
-rw-r--r--libbb/xgetcwd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libbb/xgetcwd.c b/libbb/xgetcwd.c
index 2746681..4f77481 100644
--- a/libbb/xgetcwd.c
+++ b/libbb/xgetcwd.c
@@ -10,6 +10,7 @@
#include <errno.h>
#include <unistd.h>
#include <limits.h>
+#include <sys/param.h>
#include "libbb.h"
/* Amount to increase buffer size by in each try. */