aboutsummaryrefslogtreecommitdiff
path: root/toys.h
diff options
context:
space:
mode:
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];