浏览代码

Fix error when building assimp on older Mac OS X version.

Prevents this error when building with Mac OS X 10.9 SDK:

    error: no member named 'atoi' in namespace 'std'; did you mean simply 'atoi'?
follower 6 年之前
父节点
当前提交
84698dfa3d
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      thirdparty/assimp/include/assimp/scene.h

+ 1 - 0
thirdparty/assimp/include/assimp/scene.h

@@ -56,6 +56,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #include "material.h"
 #include "anim.h"
 #include "metadata.h"
+#include <cstdlib>
 
 #ifdef __cplusplus
 extern "C" {