浏览代码

Fix failing build on mageia v6 x64 linux.

There was an error about undeclared malloc()+free().
Shlomi Fish 8 年之前
父节点
当前提交
0ef3d22d98
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      platform/x11/godot_x11.cpp

+ 1 - 0
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"