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:
parent
ec025f2020
commit
7785583b34
@ -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
5
vlib/term/term_solaris.v
Normal file
@ -0,0 +1,5 @@
|
||||
module term
|
||||
|
||||
#include <unistd.h> // ioctl
|
||||
|
||||
#include <sys/termios.h> // TIOCGWINSZ
|
Loading…
Reference in New Issue
Block a user