cgen: add c headers for Solaris / Illumos

pull/4057/head
fantassin 2020-03-18 07:48:42 -07:00 committed by GitHub
parent 04184f1715
commit d81d804cb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

View File

@ -106,6 +106,11 @@ extern char **environ;
#include <sys/wait.h> // os__wait uses wait on nix
#endif
#ifdef __sun
#include <sys/types.h>
#include <sys/wait.h> // os__wait uses wait on nix
#endif
$c_common_macros
#ifdef _WIN32

View File

@ -107,6 +107,11 @@ extern char **environ;
#include <sys/wait.h> // os__wait uses wait on nix
#endif
#ifdef __sun
#include <sys/types.h>
#include <sys/wait.h> // os__wait uses wait on nix
#endif
$c_common_macros
#ifdef _WIN32