aboutsummaryrefslogtreecommitdiff
path: root/deallocvt.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-07-08 18:55:24 +0000
committerEric Andersen <andersen@codepoet.org>2000-07-08 18:55:24 +0000
commitbd22ed806782eec76929bcd2ec556717e79d24c7 (patch)
treee225367aaef198eacec8ed0b530d36a9d888d92f /deallocvt.c
parent877a71bbf0b8386add4631c08f7101259ad2dc07 (diff)
downloadbusybox-w32-bd22ed806782eec76929bcd2ec556717e79d24c7.tar.gz
busybox-w32-bd22ed806782eec76929bcd2ec556717e79d24c7.tar.bz2
busybox-w32-bd22ed806782eec76929bcd2ec556717e79d24c7.zip
Update files to reduce dependance on kernel version...
-Erik
Diffstat (limited to 'deallocvt.c')
-rw-r--r--deallocvt.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/deallocvt.c b/deallocvt.c
index b65f7b098..0cad7717b 100644
--- a/deallocvt.c
+++ b/deallocvt.c
@@ -5,11 +5,14 @@
5 */ 5 */
6#include "internal.h" 6#include "internal.h"
7#include <stdlib.h> 7#include <stdlib.h>
8#include <stdio.h>
8#include <fcntl.h> 9#include <fcntl.h>
9#include <sys/types.h> 10#include <sys/types.h>
10#include <sys/ioctl.h> 11#include <sys/ioctl.h>
11#include <linux/vt.h> 12
12#include <stdio.h> 13/* From <linux/vt.h> */
14#define VT_DISALLOCATE 0x5608 /* free memory associated to vt */
15
13 16
14char *progname; 17char *progname;
15 18