summaryrefslogtreecommitdiff
path: root/coreutils/dd.c
diff options
context:
space:
mode:
authorEric Andersen1999-11-22 07:41:00 +0000
committerEric Andersen1999-11-22 07:41:00 +0000
commitcb41c2e83b9e9997b9737d7061d53f7c11a463a8 (patch)
tree9fed0b9a9a44389618c13d8094b26224355d3108 /coreutils/dd.c
parent5d44d1fda593248c154ec68b38ce946a69f9b0fc (diff)
downloadbusybox-cb41c2e83b9e9997b9737d7061d53f7c11a463a8.zip
busybox-cb41c2e83b9e9997b9737d7061d53f7c11a463a8.tar.gz
Bug fixes
Diffstat (limited to 'coreutils/dd.c')
-rw-r--r--coreutils/dd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/coreutils/dd.c b/coreutils/dd.c
index 6494857..a2dc1c3 100644
--- a/coreutils/dd.c
+++ b/coreutils/dd.c
@@ -29,10 +29,15 @@
#include "internal.h"
+#include <features.h>
#include <stdio.h>
#include <fcntl.h>
#include <errno.h>
+#if (__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 1)
#include <inttypes.h>
+#else
+typedef unsigned long long int uintmax_t;
+#endif
static const char dd_usage[] =
"dd [if=name] [of=name] [bs=n] [count=n]\n\n"