浏览代码

Missing includes for some platforms

ocornut 11 年之前
父节点
当前提交
678f6d3a3d
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      imgui.cpp

+ 3 - 1
imgui.cpp

@@ -156,8 +156,10 @@
 */
 
 #include "imgui.h"
-#include <ctype.h>
+#include <ctype.h>		// toupper
+#include <limits.h>		// INT_MAX
 #include <math.h>		// sqrt
+#include <stdint.h>		// intptr_t
 #include <stdio.h>		// vsnprintf
 #include <string.h>		// memset