diff options
| author | Rémi Verschelde | 2017-09-19 16:57:31 +0200 |
|---|---|---|
| committer | GitHub | 2017-09-19 16:57:31 +0200 |
| commit | 92031747aaf53aaaeb4a8cdedda8761bccd2cdc3 (patch) | |
| tree | ec6b8c3adff5f8395826603265ddb30d387fc4d5 | |
| parent | 33e1716f1370b129af37ed93bbf7a6736ad43808 (diff) | |
| parent | 9a0aa45d5ccf3cccf276d470433fff6cea2959c0 (diff) | |
| download | godot-92031747aaf53aaaeb4a8cdedda8761bccd2cdc3.tar.gz godot-92031747aaf53aaaeb4a8cdedda8761bccd2cdc3.tar.zst godot-92031747aaf53aaaeb4a8cdedda8761bccd2cdc3.zip | |
Merge pull request #11418 from marcelofg55/fix_ch_compilelinux
Fix crash handler not including stdlib.h
[ci skip]
Diffstat (limited to '')
| -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 a8146696b..2ed88db30 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 419b01447..3c54d5cbc 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) |
