From: Eric Andersen Date: Tue, 21 Aug 2001 22:34:05 +0000 (-0000) Subject: Fix dos2unix compile problem with certain glibc versions X-Git-Tag: 0_60_1~13 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c61804ed592f22340b3698eec6b67216c010cae0;p=oweals%2Fbusybox.git Fix dos2unix compile problem with certain glibc versions --- diff --git a/coreutils/dos2unix.c b/coreutils/dos2unix.c index 02b70d915..e110680c3 100644 --- a/coreutils/dos2unix.c +++ b/coreutils/dos2unix.c @@ -34,8 +34,8 @@ #include #include "busybox.h" -/* Teach libc5 what a uint64_t is */ -#if (__GLIBC__ <= 2) && (__GLIBC_MINOR__ < 1) +/* Teach older glibc and libc5 what a uint64_t is */ +#if (__GLIBC__ <= 2) && (__GLIBC_MINOR__ < 3) typedef unsigned long int uint64_t; #endif diff --git a/dos2unix.c b/dos2unix.c index 02b70d915..e110680c3 100644 --- a/dos2unix.c +++ b/dos2unix.c @@ -34,8 +34,8 @@ #include #include "busybox.h" -/* Teach libc5 what a uint64_t is */ -#if (__GLIBC__ <= 2) && (__GLIBC_MINOR__ < 1) +/* Teach older glibc and libc5 what a uint64_t is */ +#if (__GLIBC__ <= 2) && (__GLIBC_MINOR__ < 3) typedef unsigned long int uint64_t; #endif