0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-12 13:03:31 +00:00
termux-packages/packages/kbd/resizecons.c.patch
2024-03-23 01:16:42 +01:00

15 lines
353 B
Diff

diff --git a/src/resizecons.c b/src/resizecons.c
index 618ce8b..f613951 100644
--- a/src/resizecons.c
+++ b/src/resizecons.c
@@ -78,7 +78,8 @@
#include <stdio.h>
#include <errno.h>
#include <signal.h>
-#include <sys/io.h>
+#include <sys/syscall.h>
+#define iopl(level) ((int)syscall(SYS_iopl, level))
#include <sys/ioctl.h>
#include <linux/vt.h>