1
0
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:
pancake 2021-07-08 15:29:30 +02:00 committed by GitHub
parent 9ba6c23d5c
commit eac8f77613
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>