Browse Source

Missing includes for some platforms

ocornut 11 năm trước cách đây
mục cha
commit
678f6d3a3d
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  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