From 3d4d1b85538006fc9770774d3449ce1f23087341 Mon Sep 17 00:00:00 2001 From: ocornut Date: Mon, 26 Jul 2021 21:01:32 +0200 Subject: [PATCH] Allow imgui_internal.h to be included before imgui.h (practically speaking it allows me to use StructLayout without hassle) --- imgui_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui_internal.h b/imgui_internal.h index 6681f07af..0e813ef31 100644 --- a/imgui_internal.h +++ b/imgui_internal.h @@ -43,7 +43,7 @@ Index of this file: //----------------------------------------------------------------------------- #ifndef IMGUI_VERSION -#error Must include imgui.h before imgui_internal.h +#include "imgui.h" #endif #include // FILE*, sscanf