aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2005-10-25 02:22:13 +0000
committerRob Landley <rob@landley.net>2005-10-25 02:22:13 +0000
commit3c6bfe3e33ddb98de5dff0467ed42483984b0738 (patch)
treea2d7fd863e97132c48a1de1e5337aff374e91e3d /libbb
parent2d5d88ebc0366287e0c001bfff0fecd02e1c0931 (diff)
downloadbusybox-3c6bfe3e33ddb98de5dff0467ed42483984b0738.tar.gz
Shaun Jackman noted that limits.h defines path_max and isn't included from
find_root_device.c. (We #include it in busybox.h but not libbb.h, it seems. Someday, someone's going to have to clarify for me the difference between those two...)
Diffstat (limited to 'libbb')
-rw-r--r--libbb/find_root_device.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libbb/find_root_device.c b/libbb/find_root_device.c
index 7ff65bb57..dfe0cfa7b 100644
--- a/libbb/find_root_device.c
+++ b/libbb/find_root_device.c
@@ -19,6 +19,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#include <limits.h>
#include <stdio.h>
#include <string.h>
#include <dirent.h>