From 1114de7219f8e42d6d883c476a9458f637806365 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Tue, 10 Oct 2006 23:26:05 +0000 Subject: od: provide full-blown od from coreutils if CONFIG_DESKTOP --- coreutils/od.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'coreutils/od.c') diff --git a/coreutils/od.c b/coreutils/od.c index 60a5174d9..9a2d4c343 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 -#include +#if ENABLE_DESKTOP +/* This one provides -t (busybox's own build script needs it) */ +#include "od_bloaty.c" +#else + #include -#include #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. -- cgit v1.2.3