mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cgen: add sys/wait.h in cheaders.v for SerenityOS too (#10698)
This commit is contained in:
parent
9ba6c23d5c
commit
eac8f77613
@ -347,6 +347,11 @@ voidptr memdup(voidptr src, int sz);
|
||||
#include <sys/wait.h> // os__wait uses wait on nix
|
||||
#endif
|
||||
|
||||
#ifdef __serenity__
|
||||
#include <sys/types.h>
|
||||
#include <sys/wait.h> // os__wait uses wait on nix
|
||||
#endif
|
||||
|
||||
#ifdef __OpenBSD__
|
||||
#include <sys/types.h>
|
||||
#include <sys/resource.h>
|
||||
|
Loading…
Reference in New Issue
Block a user