diff options
Diffstat (limited to 'dd.c')
-rw-r--r-- | dd.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 | ||
39 | typedef unsigned long long int uintmax_t; | ||
40 | #endif | ||
36 | 41 | ||
37 | static const char dd_usage[] = | 42 | static 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" |