浏览代码

Fixed no member named 'atop' in global namespace issue for Android NDK compilation

Cong Jie 8 年之前
父节点
当前提交
aff391c681
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      code/StringUtils.h

+ 1 - 0
code/StringUtils.h

@@ -42,6 +42,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 
 #include <sstream>
 #include <sstream>
 #include <stdarg.h>
 #include <stdarg.h>
+#include <cstdlib>
 
 
 ///	@fn		ai_snprintf
 ///	@fn		ai_snprintf
 ///	@brief	The portable version of the function snprintf ( C99 standard ), which works on visual studio compilers 2013 and earlier.
 ///	@brief	The portable version of the function snprintf ( C99 standard ), which works on visual studio compilers 2013 and earlier.