mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03: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
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue