aboutsummaryrefslogtreecommitdiff
path: root/chvt.c
diff options
context:
space:
mode:
Diffstat (limited to 'chvt.c')
-rw-r--r--chvt.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/chvt.c b/chvt.c
index 45a04397a..c5c86b613 100644
--- a/chvt.c
+++ b/chvt.c
@@ -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
15int chvt_main(int argc, char **argv) 19int chvt_main(int argc, char **argv)
16{ 20{