compiler: fix symbol error in DragonFlyBSD

pull/2293/head
lhmwzy 2019-10-11 01:05:22 +08:00 committed by Alexander Medvednikov
parent f8fefd5a60
commit de36b61931
1 changed files with 5 additions and 0 deletions

View File

@ -43,6 +43,11 @@ CommonCHeaders = '
#include <sys/wait.h> // os__wait uses wait on nix
#endif
#ifdef __DragonFly__
#include <sys/types.h>
#include <sys/wait.h> // os__wait uses wait on nix
#endif
#define EMPTY_STRUCT_DECLARATION
#define EMPTY_STRUCT_INITIALIZATION 0
// Due to a tcc bug, the length of an array needs to be specified, but GCC crashes if it is...