From be0c36009a342de3599d498d6f150030b6a75b98 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 2 Aug 2001 10:55:32 +0000 Subject: More libc5 fixups -Erik --- coreutils/dos2unix.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'coreutils/dos2unix.c') diff --git a/coreutils/dos2unix.c b/coreutils/dos2unix.c index 68aee13c5..02b70d915 100644 --- a/coreutils/dos2unix.c +++ b/coreutils/dos2unix.c @@ -34,6 +34,11 @@ #include #include "busybox.h" +/* Teach libc5 what a uint64_t is */ +#if (__GLIBC__ <= 2) && (__GLIBC_MINOR__ < 1) +typedef unsigned long int uint64_t; +#endif + static const char letters[] = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; // if fn is NULL then input is stdin and output is stdout -- cgit v1.2.3