aboutsummaryrefslogtreecommitdiff
path: root/toys.h
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2007-02-03 14:10:00 -0500
committerRob Landley <rob@landley.net>2007-02-03 14:10:00 -0500
commitfd1c5ba0cbbd31c4713d9283c4fa5c3265ad2296 (patch)
tree48f65558e2c9d76fa397e066c14a5642accee992 /toys.h
parent5a60e26fe8de2648689ff8c5659085b99f5891a0 (diff)
downloadtoybox-fd1c5ba0cbbd31c4713d9283c4fa5c3265ad2296.tar.gz
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.
Diffstat (limited to 'toys.h')
-rw-r--r--toys.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/toys.h b/toys.h
index e1e25210..3c6cec92 100644
--- a/toys.h
+++ b/toys.h
@@ -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"