aboutsummaryrefslogtreecommitdiff
path: root/toys.h
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2007-01-14 20:20:06 -0500
committerRob Landley <rob@landley.net>2007-01-14 20:20:06 -0500
commit055cfcbe5b0534c700b30216f54336b7581f7be4 (patch)
tree8c62c700db81dc09b8d9f7c79c504651dff3acd2 /toys.h
parent3388f4c4de628702ba77e2fec941c809877ad576 (diff)
downloadtoybox-055cfcbe5b0534c700b30216f54336b7581f7be4.tar.gz
Add start of mke2fs/gene2fs, and some other stuff I've been working on.
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 7a01c2ab..27647c93 100644
--- a/toys.h
+++ b/toys.h
@@ -18,6 +18,7 @@
#include <stdlib.h>
#include <string.h>
#include <strings.h>
+#include <sys/ioctl.h>
#include <sys/stat.h>
#include <sys/statvfs.h>
#include <sys/types.h>
@@ -25,6 +26,7 @@
#include <unistd.h>
#include "lib/lib.h"
+#include "lib/portability.h"
#include "gen_config.h"
#include "toys/toylist.h"
@@ -46,4 +48,4 @@ extern struct toy_context {
// One big temporary buffer, for use by applets (not library functions).
-char toybuf[4096];
+extern char toybuf[4096];