mirror of
https://github.com/vlang/v.git
synced 2025-09-18 11:56:57 -04:00
os: include sys/sysctl.h on FreeBSD to avoid implicit definition of sysctl function (#19293)
This commit is contained in:
parent
055e113af3
commit
b4d0e12c4c
@ -5,6 +5,10 @@ import strings
|
||||
#include <sys/stat.h> // #include <signal.h>
|
||||
#include <errno.h>
|
||||
|
||||
$if freebsd {
|
||||
#include <sys/sysctl.h>
|
||||
}
|
||||
|
||||
pub const (
|
||||
args = []string{}
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user