aboutsummaryrefslogtreecommitdiffstats
path: root/toolbox/setconsole.c
diff options
context:
space:
mode:
authorOlivier Bailly <olivier@google.com>2010-11-17 11:47:23 -0800
committerOlivier Bailly <olivier@google.com>2010-11-17 11:47:23 -0800
commitb93e5812faffd3b6c5fb349072413aace31918d8 (patch)
treedbffdf9f41b914b32da131fbdd0eee435c2ec656 /toolbox/setconsole.c
parent609d8828d3b8266a80606bf902d1294296962cf3 (diff)
downloadsystem_core-b93e5812faffd3b6c5fb349072413aace31918d8.tar.gz
system_core-b93e5812faffd3b6c5fb349072413aace31918d8.tar.bz2
system_core-b93e5812faffd3b6c5fb349072413aace31918d8.zip
Add missing headers for compilation on x86 targets
Change-Id: I5f4dc797b353a0f01fa00d38375ec303bf863254
Diffstat (limited to 'toolbox/setconsole.c')
-rw-r--r--toolbox/setconsole.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/toolbox/setconsole.c b/toolbox/setconsole.c
index b0ce13f1..0159c07e 100644
--- a/toolbox/setconsole.c
+++ b/toolbox/setconsole.c
@@ -6,6 +6,8 @@
#include <linux/vt.h>
#include <errno.h>
#include <pthread.h>
+#include <unistd.h>
+#include <sys/ioctl.h>
static int activate_thread_switch_vc;
static void *activate_thread(void *arg)