diff options
| author | Shlomi Fish | 2017-02-27 21:24:46 +0200 |
|---|---|---|
| committer | Rémi Verschelde | 2017-03-18 20:19:57 +0100 |
| commit | cb2cdce6b8de8ae514cc72285fe256b26b9536fa (patch) | |
| tree | f333bedae6630e2f459b0a0616fee642340fa3e7 | |
| parent | db6d9cdc2202dfa22ce378c11c2e989537cf713e (diff) | |
| download | godot-cb2cdce6b8de8ae514cc72285fe256b26b9536fa.tar.gz godot-cb2cdce6b8de8ae514cc72285fe256b26b9536fa.tar.zst godot-cb2cdce6b8de8ae514cc72285fe256b26b9536fa.zip | |
Fix failing build on mageia v6 x64 linux.
There was an error about undeclared malloc()+free().
(cherry picked from commit 0ef3d22d98471be082e322d9da95c683ce199fcf)
| -rw-r--r-- | platform/x11/godot_x11.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/x11/godot_x11.cpp b/platform/x11/godot_x11.cpp index b727ecbd1..adb919c2f 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" |
