Merge pull request #11418 from marcelofg55/fix_ch_compilelinux
Fix crash handler not including stdlib.h [ci skip]
This commit is contained in:
commit
92031747aa
2 changed files with 2 additions and 0 deletions
|
@ -43,6 +43,7 @@
|
|||
#include <dlfcn.h>
|
||||
#include <execinfo.h>
|
||||
#include <signal.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <mach-o/dyld.h>
|
||||
#include <mach-o/getsect.h>
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
#include <dlfcn.h>
|
||||
#include <execinfo.h>
|
||||
#include <signal.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
static void handle_crash(int sig) {
|
||||
if (OS::get_singleton() == NULL)
|
||||
|
|
Loading…
Reference in a new issue