aboutsummaryrefslogtreecommitdiff
path: root/dd.c
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>1999-11-22 07:41:00 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>1999-11-22 07:41:00 +0000
commita97e1d1f07821e7d508dd7e5280583a5a6d5df4f (patch)
tree9fed0b9a9a44389618c13d8094b26224355d3108 /dd.c
parent17f534f1048c52c064ff9e8135840f430022fd5f (diff)
downloadbusybox-w32-a97e1d1f07821e7d508dd7e5280583a5a6d5df4f.tar.gz
busybox-w32-a97e1d1f07821e7d508dd7e5280583a5a6d5df4f.tar.bz2
busybox-w32-a97e1d1f07821e7d508dd7e5280583a5a6d5df4f.zip
Bug fixes
git-svn-id: svn://busybox.net/trunk/busybox@115 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'dd.c')
-rw-r--r--dd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/dd.c b/dd.c
index 64948571c..a2dc1c396 100644
--- a/dd.c
+++ b/dd.c
@@ -29,10 +29,15 @@
29 29
30 30
31#include "internal.h" 31#include "internal.h"
32#include <features.h>
32#include <stdio.h> 33#include <stdio.h>
33#include <fcntl.h> 34#include <fcntl.h>
34#include <errno.h> 35#include <errno.h>
36#if (__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 1)
35#include <inttypes.h> 37#include <inttypes.h>
38#else
39typedef unsigned long long int uintmax_t;
40#endif
36 41
37static const char dd_usage[] = 42static const char dd_usage[] =
38"dd [if=name] [of=name] [bs=n] [count=n]\n\n" 43"dd [if=name] [of=name] [bs=n] [count=n]\n\n"