From 9a0aa45d5ccf3cccf276d470433fff6cea2959c0 Mon Sep 17 00:00:00 2001 From: Marcelo Fernandez Date: Tue, 19 Sep 2017 11:21:45 -0300 Subject: [PATCH] Fix crash handler not including stdlib.h --- platform/osx/crash_handler_osx.mm | 1 + platform/x11/crash_handler_x11.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/platform/osx/crash_handler_osx.mm b/platform/osx/crash_handler_osx.mm index a8146696bc6..2ed88db3090 100644 --- a/platform/osx/crash_handler_osx.mm +++ b/platform/osx/crash_handler_osx.mm @@ -43,6 +43,7 @@ #include #include #include +#include #include #include diff --git a/platform/x11/crash_handler_x11.cpp b/platform/x11/crash_handler_x11.cpp index 419b0144756..3c54d5cbc23 100644 --- a/platform/x11/crash_handler_x11.cpp +++ b/platform/x11/crash_handler_x11.cpp @@ -39,6 +39,7 @@ #include #include #include +#include static void handle_crash(int sig) { if (OS::get_singleton() == NULL)