From c0f9d0dce7a4d1ef1b2fd19f98fc0ec94c3887e4 Mon Sep 17 00:00:00 2001
From: Eric Andersen <andersen@codepoet.org>
Date: Wed, 22 Aug 2001 05:35:39 +0000
Subject: Add #include <sys/param.h> to ensure PATH_MAX is defined

---
 libbb/xgetcwd.c | 1 +
 1 file changed, 1 insertion(+)

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. */
-- 
cgit v1.2.3-55-g6feb