Mercurial > hg > toybox
diff toys.h @ 94:884c03c29f21
Teach build to build only the toys/*.c selected in .config, and teach
CFG_TOYSH_DEBUG to shut up the spurious "gcc can't tell that this is never
actually used uninitialized because gcc is stupid" warnings.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sat, 03 Feb 2007 14:10:00 -0500 |
parents | 612c8d6c2829 |
children | ce6956dfc0cf |
line wrap: on
line diff
--- a/toys.h Fri Feb 02 10:53:55 2007 -0500 +++ b/toys.h Sat Feb 03 14:10:00 2007 -0500 @@ -6,9 +6,12 @@ * Licensed under GPL version 2, see file LICENSE in this tarball for details. */ +#include "gen_config.h" + #include "lib/portability.h" #include <ctype.h> +#include <dirent.h> #include <errno.h> #include <fcntl.h> #include <inttypes.h> @@ -30,7 +33,6 @@ #include <unistd.h> #include "lib/lib.h" -#include "gen_config.h" #include "toys/e2fs.h" #include "toys/toylist.h"