Fixed no member named 'atop' in global namespace issue for Android NDK compilation
authorCong Jie <congjie.cj@gmail.com>
Thu, 27 Apr 2017 08:15:03 +0000 (17:15 +0900)
committerCong Jie <congjie.cj@gmail.com>
Thu, 27 Apr 2017 08:15:03 +0000 (17:15 +0900)
code/StringUtils.h

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