aboutsummaryrefslogtreecommitdiff
path: root/coreutils/dos2unix.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-08-02 10:55:32 +0000
committerEric Andersen <andersen@codepoet.org>2001-08-02 10:55:32 +0000
commitbe0c36009a342de3599d498d6f150030b6a75b98 (patch)
tree5af27e4751ecae51387a99872b66a8cd6e621caa /coreutils/dos2unix.c
parent23b1e5c7df2e619654d0a53785fcdef5072b40ed (diff)
downloadbusybox-w32-be0c36009a342de3599d498d6f150030b6a75b98.tar.gz
busybox-w32-be0c36009a342de3599d498d6f150030b6a75b98.tar.bz2
busybox-w32-be0c36009a342de3599d498d6f150030b6a75b98.zip
More libc5 fixups
-Erik
Diffstat (limited to 'coreutils/dos2unix.c')
-rw-r--r--coreutils/dos2unix.c5
1 files changed, 5 insertions, 0 deletions
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 @@
34#include <sys/time.h> 34#include <sys/time.h>
35#include "busybox.h" 35#include "busybox.h"
36 36
37/* Teach libc5 what a uint64_t is */
38#if (__GLIBC__ <= 2) && (__GLIBC_MINOR__ < 1)
39typedef unsigned long int uint64_t;
40#endif
41
37static const char letters[] = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; 42static const char letters[] = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
38 43
39// if fn is NULL then input is stdin and output is stdout 44// if fn is NULL then input is stdin and output is stdout