1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

v.gen.c: fix cheaders.v

This commit is contained in:
Delyan Angelov 2021-07-13 11:30:51 +03:00
parent 85564b7b83
commit 05466ce1b6
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -332,7 +332,7 @@ voidptr memdup(voidptr src, int sz);
#error Cygwin is not supported, please use MinGW or Visual Studio.
#endif
#ifdef defined(__linux__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__vinix__) || defined(__serenity__) || defined(__sun)
#if defined(__linux__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__vinix__) || defined(__serenity__) || defined(__sun)
#include <sys/types.h>
#include <sys/wait.h> // os__wait uses wait on nix
#endif