From 4d1d0113fd3309aac30b2dd1d443bf7c7d5f0a3d Mon Sep 17 00:00:00 2001 From: Erik Andersen Date: Fri, 17 Dec 1999 18:44:15 +0000 Subject: Reworked the source so it will compile and run under glibc 2.0.7 and linux kernel 2.0.36 (though the dubious reasons why someone would want to do that defy imagination ;) -Erik --- coreutils/dd.c | 2 +- coreutils/du.c | 5 +---- coreutils/tail.c | 1 + 3 files changed, 3 insertions(+), 5 deletions(-) (limited to 'coreutils') diff --git a/coreutils/dd.c b/coreutils/dd.c index 90c1004fa..bc01eedbf 100644 --- a/coreutils/dd.c +++ b/coreutils/dd.c @@ -33,7 +33,7 @@ #include #include #include -#if (__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 1) +#if (__GLIBC__ >= 2) && (__GLIBC_MINOR__ >= 1) #include #else typedef unsigned long long int uintmax_t; diff --git a/coreutils/du.c b/coreutils/du.c index ed90bc445..ec03afd95 100644 --- a/coreutils/du.c +++ b/coreutils/du.c @@ -43,9 +43,6 @@ static int du_depth = 0; static Display *print; -static void -print_null(size_t size, char *filename) { } - static void print_normal(size_t size, char *filename) { @@ -143,4 +140,4 @@ du_main(int argc, char **argv) exit(0); } -/* $Id: du.c,v 1.7 1999/12/16 21:16:47 beppu Exp $ */ +/* $Id: du.c,v 1.8 1999/12/17 18:44:15 erik Exp $ */ diff --git a/coreutils/tail.c b/coreutils/tail.c index 7a64c4ca3..697177dc7 100644 --- a/coreutils/tail.c +++ b/coreutils/tail.c @@ -27,6 +27,7 @@ #include "internal.h" #include +#include #include #include #include -- cgit v1.2.3