aboutsummaryrefslogtreecommitdiff
path: root/dos2unix.c
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-08-02 10:55:32 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-08-02 10:55:32 +0000
commitc61d5c8db8521b96362ae0ca7ba1aee14c12b934 (patch)
tree5af27e4751ecae51387a99872b66a8cd6e621caa /dos2unix.c
parent70b84b8e3681e2f0629bc6a8a9c8c98ae7dcf8b5 (diff)
downloadbusybox-w32-c61d5c8db8521b96362ae0ca7ba1aee14c12b934.tar.gz
busybox-w32-c61d5c8db8521b96362ae0ca7ba1aee14c12b934.tar.bz2
busybox-w32-c61d5c8db8521b96362ae0ca7ba1aee14c12b934.zip
More libc5 fixups
-Erik git-svn-id: svn://busybox.net/trunk/busybox@3195 69ca8d6d-28ef-0310-b511-8ec308f3f277
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 68aee13c5..02b70d915 100644
--- a/dos2unix.c
+++ b/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