cgen: add sys/wait.h in cheaders.v for SerenityOS too (#10698)

pull/10700/head
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
1 changed files with 5 additions and 0 deletions

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>