diff --git a/imgui.h b/imgui.h index 66d800c9da6f..226ffb56b889 100644 --- a/imgui.h +++ b/imgui.h @@ -6,7 +6,9 @@ #pragma once +#if !defined(IMGUI_DISABLE_INCLUDE_IMCONFIG_H) || defined(IMGUI_INCLUDE_IMCONFIG_H) #include "imconfig.h" // User-editable configuration file +#endif #include // FLT_MAX #include // va_list #include // ptrdiff_t, NULL