mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
os: fix debugger_present for solaris (#10902)
-solaris has no `sys/ptrace.h`, instead `ptrace` is included in `sys/types.h` and `unistd.h`
This commit is contained in:
parent
742f6f849c
commit
8f3646cb81
@ -7,8 +7,10 @@ import strings
|
|||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <sys/utsname.h>
|
#include <sys/utsname.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/ptrace.h>
|
|
||||||
#include <utime.h>
|
#include <utime.h>
|
||||||
|
$if !solaris {
|
||||||
|
#include <sys/ptrace.h>
|
||||||
|
}
|
||||||
|
|
||||||
pub const (
|
pub const (
|
||||||
path_separator = '/'
|
path_separator = '/'
|
||||||
|
Loading…
Reference in New Issue
Block a user