1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

android: fix termux build

This commit is contained in:
Delyan Angelov 2020-03-29 21:54:21 +03:00 committed by GitHub
parent ec025f2020
commit 7785583b34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -4,11 +4,6 @@ import os
#include <sys/ioctl.h>
$if solaris {
#include <unistd.h> // ioctl
#include <sys/termios.h> // TIOCGWINSZ
}
pub struct C.winsize {
pub:
ws_row u16

5
vlib/term/term_solaris.v Normal file
View File

@ -0,0 +1,5 @@
module term
#include <unistd.h> // ioctl
#include <sys/termios.h> // TIOCGWINSZ