hkrn / MMDAI

[DEVELOPMENT HAS BEEN DISCONTINUED] The successor of MMDAI is https://github.com/hkrn/nanoem / MMDAI was a fork project of MMDAgent and VPVM a.k.a. MMDAI2 was an application to create a motion compatible with MMD for OSX/Linux that is extended from MMDAI
126 stars 28 forks source link

Forgot to include cstdlib in VIManager_Thread #13

Closed iRi-E closed 13 years ago

iRi-E commented 13 years ago

In VIManager_Thread.cpp, calloc() and free() are used but cstdlib is not included, so the builds fail at least on my system (Ubuntu 11.04 amd64).

The following patch should fix this issue:

--- a/QMA/plugins/QMAVIManagerPlugin/VIManager_Thread.cpp
+++ b/QMA/plugins/QMAVIManagerPlugin/VIManager_Thread.cpp
@@ -38,6 +38,8 @@

 /* headers */

+#include <cstdlib>
+
 #include "QMAVIManagerPlugin.h"
 #include "VIManager.h"
 #include "VIManager_Thread.h"
iRi-E commented 13 years ago

This bug was fixed 852284e7.