diff --git a/imgui_internal.h b/imgui_internal.h index 3df23dad1..8512a635f 100644 --- a/imgui_internal.h +++ b/imgui_internal.h @@ -7,6 +7,10 @@ #pragma once +#ifndef IMGUI_VERSION +#error Must include imgui.h before imgui_internal.h +#endif + #include // FILE* #include // sqrtf()