summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorShlomi Fish <shlomif@shlomifish.org>2017-02-27 21:24:46 +0200
committerShlomi Fish <shlomif@shlomifish.org>2017-02-27 21:24:46 +0200
commit0ef3d22d98471be082e322d9da95c683ce199fcf (patch)
tree4cf7891e13da2d90bf8c4032590b22405076ccf2 /platform
parent55ce8e6ce929f6ff58f9fed8a0a547883deaccb8 (diff)
Fix failing build on mageia v6 x64 linux.
There was an error about undeclared malloc()+free().
Diffstat (limited to 'platform')
-rw-r--r--platform/x11/godot_x11.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/x11/godot_x11.cpp b/platform/x11/godot_x11.cpp
index b727ecbd17..adb919c2f1 100644
--- a/platform/x11/godot_x11.cpp
+++ b/platform/x11/godot_x11.cpp
@@ -28,6 +28,7 @@
/*************************************************************************/
#include <unistd.h>
#include <limits.h>
+#include <stdlib.h>
#include "main/main.h"
#include "os_x11.h"