summaryrefslogtreecommitdiff
path: root/dos2unix.c
diff options
context:
space:
mode:
authorEric Andersen2001-08-02 10:55:32 +0000
committerEric Andersen2001-08-02 10:55:32 +0000
commitbe0c36009a342de3599d498d6f150030b6a75b98 (patch)
tree5af27e4751ecae51387a99872b66a8cd6e621caa /dos2unix.c
parent23b1e5c7df2e619654d0a53785fcdef5072b40ed (diff)
downloadbusybox-be0c36009a342de3599d498d6f150030b6a75b98.zip
busybox-be0c36009a342de3599d498d6f150030b6a75b98.tar.gz
More libc5 fixups
-Erik
Diffstat (limited to 'dos2unix.c')
-rw-r--r--dos2unix.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/dos2unix.c b/dos2unix.c
index 68aee13..02b70d9 100644
--- a/dos2unix.c
+++ b/dos2unix.c
@@ -34,6 +34,11 @@
#include <sys/time.h>
#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