From eba8ed71f08f334bc94ac8eeedcd998fcdd05897 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 9 Mar 2001 14:36:42 +0000 Subject: Patchs from Jeff Garzik to cleanup warnings with glibc 2.2 and use always use xfopen -Erik --- coreutils/cat.c | 1 + coreutils/df.c | 1 + coreutils/du.c | 3 ++- coreutils/head.c | 1 + coreutils/sort.c | 1 + coreutils/uname.c | 1 + coreutils/wc.c | 1 + 7 files changed, 8 insertions(+), 1 deletion(-) (limited to 'coreutils') diff --git a/coreutils/cat.c b/coreutils/cat.c index 3554008..aa8528d 100644 --- a/coreutils/cat.c +++ b/coreutils/cat.c @@ -22,6 +22,7 @@ */ #include +#include #include "busybox.h" extern int cat_main(int argc, char **argv) diff --git a/coreutils/df.c b/coreutils/df.c index 485076f..776fceb 100644 --- a/coreutils/df.c +++ b/coreutils/df.c @@ -24,6 +24,7 @@ #include #include +#include #include #include #include diff --git a/coreutils/du.c b/coreutils/du.c index 17ecfde..7cb888d 100644 --- a/coreutils/du.c +++ b/coreutils/du.c @@ -28,6 +28,7 @@ #include #include #include +#include #include #include "busybox.h" #define BB_DECLARE_EXTERN @@ -196,7 +197,7 @@ int du_main(int argc, char **argv) return status; } -/* $Id: du.c,v 1.42 2001/03/07 17:42:07 markw Exp $ */ +/* $Id: du.c,v 1.43 2001/03/09 14:36:42 andersen Exp $ */ /* Local Variables: c-file-style: "linux" diff --git a/coreutils/head.c b/coreutils/head.c index c683ec7..fac9ec6 100644 --- a/coreutils/head.c +++ b/coreutils/head.c @@ -26,6 +26,7 @@ #include #include #include +#include #include "busybox.h" int head(int len, FILE *fp) diff --git a/coreutils/sort.c b/coreutils/sort.c index ed68722..79e629c 100644 --- a/coreutils/sort.c +++ b/coreutils/sort.c @@ -22,6 +22,7 @@ */ #include +#include #include #include "busybox.h" diff --git a/coreutils/uname.c b/coreutils/uname.c index 4931ff1..f7e2291 100644 --- a/coreutils/uname.c +++ b/coreutils/uname.c @@ -33,6 +33,7 @@ #include #include +#include #include #include diff --git a/coreutils/wc.c b/coreutils/wc.c index f2d33d6..5472c30 100644 --- a/coreutils/wc.c +++ b/coreutils/wc.c @@ -22,6 +22,7 @@ #include #include +#include #include #include "busybox.h" -- cgit v1.1