Fix crash handler not including stdlib.h
This commit is contained in:
parent
33e1716f13
commit
9a0aa45d5c
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