Use glibc headers on GNU/kFreeBSD

On GNU/kFreeBSD, the glibc-provided alloca.h and signal.h can be used,
instead of the ones the compat headers would try to include instead.
This commit is contained in:
Steven Chamberlain
2016-07-13 16:13:59 +01:00
parent c508afbc09
commit 4cf0001823
2 changed files with 8 additions and 0 deletions

View File

@@ -1 +1,5 @@
#if BX_CRT_GLIBC
#include_next <alloca.h>
#else
#include <stdlib.h>
#endif

View File

@@ -1 +1,5 @@
#ifdef BX_CRT_GLIBC
#include_next <signal.h>
#else
#include <sys/signal.h>
#endif