diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-09-19 16:57:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-19 16:57:31 +0200 |
commit | 92031747aaf53aaaeb4a8cdedda8761bccd2cdc3 (patch) | |
tree | ec6b8c3adff5f8395826603265ddb30d387fc4d5 | |
parent | 33e1716f1370b129af37ed93bbf7a6736ad43808 (diff) | |
parent | 9a0aa45d5ccf3cccf276d470433fff6cea2959c0 (diff) |
Merge pull request #11418 from marcelofg55/fix_ch_compilelinux
Fix crash handler not including stdlib.h
[ci skip]
-rw-r--r-- | platform/osx/crash_handler_osx.mm | 1 | ||||
-rw-r--r-- | platform/x11/crash_handler_x11.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/platform/osx/crash_handler_osx.mm b/platform/osx/crash_handler_osx.mm index a8146696bc..2ed88db309 100644 --- a/platform/osx/crash_handler_osx.mm +++ b/platform/osx/crash_handler_osx.mm @@ -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> diff --git a/platform/x11/crash_handler_x11.cpp b/platform/x11/crash_handler_x11.cpp index 419b014475..3c54d5cbc2 100644 --- a/platform/x11/crash_handler_x11.cpp +++ b/platform/x11/crash_handler_x11.cpp @@ -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) |