diff options
Diffstat (limited to 'chvt.c')
-rw-r--r-- | chvt.c | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -5,12 +5,16 @@ | |||
5 | * busyboxed by Erik Andersen | 5 | * busyboxed by Erik Andersen |
6 | */ | 6 | */ |
7 | #include "internal.h" | 7 | #include "internal.h" |
8 | #include <sys/types.h> | ||
9 | #include <sys/ioctl.h> | ||
10 | #include <linux/vt.h> | ||
11 | #include <stdio.h> | 8 | #include <stdio.h> |
12 | #include <stdlib.h> | 9 | #include <stdlib.h> |
13 | #include <fcntl.h> | 10 | #include <fcntl.h> |
11 | #include <sys/types.h> | ||
12 | #include <sys/ioctl.h> | ||
13 | |||
14 | /* From <linux/vt.h> */ | ||
15 | #define VT_ACTIVATE 0x5606 /* make vt active */ | ||
16 | #define VT_WAITACTIVE 0x5607 /* wait for vt active */ | ||
17 | |||
14 | 18 | ||
15 | int chvt_main(int argc, char **argv) | 19 | int chvt_main(int argc, char **argv) |
16 | { | 20 | { |