diff --git a/hooklib/config.c b/hooklib/config.c index ed69146..d52e6ff 100644 --- a/hooklib/config.c +++ b/hooklib/config.c @@ -5,6 +5,7 @@ #include #include "hooklib/config.h" +#include "hooklib/gfx.h" void gfx_config_load(struct gfx_config *cfg, const wchar_t *filename) { diff --git a/hooklib/config.h b/hooklib/config.h index ebdb6b1..0d737aa 100644 --- a/hooklib/config.h +++ b/hooklib/config.h @@ -3,10 +3,6 @@ #include #include -struct gfx_config { - bool enable; - bool windowed; - bool framed; -}; +#include "hooklib/gfx.h" void gfx_config_load(struct gfx_config *cfg, const wchar_t *filename); diff --git a/hooklib/gfx.h b/hooklib/gfx.h index 85b9bfc..5088e0e 100644 --- a/hooklib/gfx.h +++ b/hooklib/gfx.h @@ -1,5 +1,11 @@ #pragma once -#include "hooklib/config.h" +#include + +struct gfx_config { + bool enable; + bool windowed; + bool framed; +}; void gfx_hook_init(const struct gfx_config *cfg);