diff options
author | Denis Vlasenko | 2006-10-10 23:26:05 +0000 |
---|---|---|
committer | Denis Vlasenko | 2006-10-10 23:26:05 +0000 |
commit | 1114de7219f8e42d6d883c476a9458f637806365 (patch) | |
tree | 7a77eafabd8476a7b41ec2c69d258c0e0fb32040 /coreutils/od.c | |
parent | cba9ef5523f09ecc3240f9f6efcdd0440c652c91 (diff) | |
download | busybox-1114de7219f8e42d6d883c476a9458f637806365.zip busybox-1114de7219f8e42d6d883c476a9458f637806365.tar.gz |
od: provide full-blown od from coreutils if CONFIG_DESKTOP
Diffstat (limited to 'coreutils/od.c')
-rw-r--r-- | coreutils/od.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/coreutils/od.c b/coreutils/od.c index 60a5174..9a2d4c3 100644 --- a/coreutils/od.c +++ b/coreutils/od.c @@ -11,12 +11,13 @@ * Original copyright notice is retained at the end of this file. */ -// TODO: -t. busybox's own build script needs it -#include <ctype.h> -#include <string.h> +#if ENABLE_DESKTOP +/* This one provides -t (busybox's own build script needs it) */ +#include "od_bloaty.c" +#else + #include <getopt.h> -#include <stdlib.h> #include "busybox.h" #include "dump.h" @@ -191,6 +192,7 @@ int od_main(int argc, char **argv) return bb_dump_dump(argv); } +#endif /* ENABLE_DESKTOP */ /*- * Copyright (c) 1990 The Regents of the University of California. |