summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-08-21 22:34:05 +0000
committerEric Andersen <andersen@codepoet.org>2001-08-21 22:34:05 +0000
commitc61804ed592f22340b3698eec6b67216c010cae0 (patch)
tree41d95c6055ac3859053553a1d8c6c87e86b6e6c4
parentf349e978c43b5061bf9dd3d05b5a30e2da039f60 (diff)
downloadbusybox-w32-c61804ed592f22340b3698eec6b67216c010cae0.tar.gz
busybox-w32-c61804ed592f22340b3698eec6b67216c010cae0.tar.bz2
busybox-w32-c61804ed592f22340b3698eec6b67216c010cae0.zip
Fix dos2unix compile problem with certain glibc versions
-rw-r--r--coreutils/dos2unix.c4
-rw-r--r--dos2unix.c4
2 files changed, 4 insertions, 4 deletions
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 @@
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 */ 37/* Teach older glibc and libc5 what a uint64_t is */
38#if (__GLIBC__ <= 2) && (__GLIBC_MINOR__ < 1) 38#if (__GLIBC__ <= 2) && (__GLIBC_MINOR__ < 3)
39typedef unsigned long int uint64_t; 39typedef unsigned long int uint64_t;
40#endif 40#endif
41 41
diff --git a/dos2unix.c b/dos2unix.c
index 02b70d915..e110680c3 100644
--- a/dos2unix.c
+++ b/dos2unix.c
@@ -34,8 +34,8 @@
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 */ 37/* Teach older glibc and libc5 what a uint64_t is */
38#if (__GLIBC__ <= 2) && (__GLIBC_MINOR__ < 1) 38#if (__GLIBC__ <= 2) && (__GLIBC_MINOR__ < 3)
39typedef unsigned long int uint64_t; 39typedef unsigned long int uint64_t;
40#endif 40#endif
41 41