diff --git a/imgui.cpp b/imgui.cpp index f1dcdacb..a9ffa41c 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -471,6 +471,11 @@ #include // sqrtf, fabsf, fmodf, powf, cosf, sinf, floorf, ceilf #include // vsnprintf, sscanf, printf #include // new (ptr) +#if defined(_MSC_VER) +#include // alloca +#else +#include // alloca +#endif #if defined(_MSC_VER) && _MSC_VER <= 1500 // MSVC 2008 or earlier #include // intptr_t #else