diff --git a/imgui_widgets.cpp b/imgui_widgets.cpp index 285617fe..c2c67e78 100644 --- a/imgui_widgets.cpp +++ b/imgui_widgets.cpp @@ -33,6 +33,11 @@ Index of this file: #include "imgui_internal.h" #include // toupper, isprint +#if defined(_MSC_VER) && _MSC_VER <= 1500 // MSVC 2008 or earlier +#include // intptr_t +#else +#include // intptr_t +#endif // Visual Studio warnings #ifdef _MSC_VER