summaryrefslogtreecommitdiff
path: root/platform/x11
diff options
context:
space:
mode:
authorMarcelo Fernandez <marcelofg55@gmail.com>2017-09-19 11:21:45 -0300
committerMarcelo Fernandez <marcelofg55@gmail.com>2017-09-19 11:21:45 -0300
commit9a0aa45d5ccf3cccf276d470433fff6cea2959c0 (patch)
treeec6b8c3adff5f8395826603265ddb30d387fc4d5 /platform/x11
parent33e1716f1370b129af37ed93bbf7a6736ad43808 (diff)
Fix crash handler not including stdlib.h
Diffstat (limited to 'platform/x11')
-rw-r--r--platform/x11/crash_handler_x11.cpp1
1 files changed, 1 insertions, 0 deletions
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)