summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libbb/xgetcwd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libbb/xgetcwd.c b/libbb/xgetcwd.c
index 274668166..4f7748123 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. */