summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen2001-08-21 22:34:05 +0000
committerEric Andersen2001-08-21 22:34:05 +0000
commitc61804ed592f22340b3698eec6b67216c010cae0 (patch)
tree41d95c6055ac3859053553a1d8c6c87e86b6e6c4
parentf349e978c43b5061bf9dd3d05b5a30e2da039f60 (diff)
downloadbusybox-c61804ed592f22340b3698eec6b67216c010cae0.zip
busybox-c61804ed592f22340b3698eec6b67216c010cae0.tar.gz
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 02b70d9..e110680 100644
--- a/coreutils/dos2unix.c
+++ b/coreutils/dos2unix.c
@@ -34,8 +34,8 @@
#include <sys/time.h>
#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 02b70d9..e110680 100644
--- a/dos2unix.c
+++ b/dos2unix.c
@@ -34,8 +34,8 @@
#include <sys/time.h>
#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