aboutsummaryrefslogtreecommitdiff
path: root/deallocvt.c
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-07-08 18:55:24 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-07-08 18:55:24 +0000
commite4d63164fd2e82ba6899cc37acd02537fc49241d (patch)
treee225367aaef198eacec8ed0b530d36a9d888d92f /deallocvt.c
parent0022fe5638fbe702405ad218f43006e718f4ef9e (diff)
downloadbusybox-w32-e4d63164fd2e82ba6899cc37acd02537fc49241d.tar.gz
busybox-w32-e4d63164fd2e82ba6899cc37acd02537fc49241d.tar.bz2
busybox-w32-e4d63164fd2e82ba6899cc37acd02537fc49241d.zip
Update files to reduce dependance on kernel version...
-Erik git-svn-id: svn://busybox.net/trunk/busybox@779 69ca8d6d-28ef-0310-b511-8ec308f3f277
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