diff --git a/src/gb/mbc.c b/src/gb/mbc.c index 5844f6bf6..695653eda 100644 --- a/src/gb/mbc.c +++ b/src/gb/mbc.c @@ -7,11 +7,8 @@ #include "gb/gb.h" #include "gb/memory.h" -#include "gb/memory.h" #include "util/vfs.h" -#include - mLOG_DEFINE_CATEGORY(GB_MBC, "GB MBC"); static void _GBMBCNone(struct GB* gb, uint16_t address, uint8_t value) { diff --git a/src/gb/memory.h b/src/gb/memory.h index a4ef14aa2..64ab9dd73 100644 --- a/src/gb/memory.h +++ b/src/gb/memory.h @@ -12,6 +12,8 @@ #include "gb/interface.h" #include "lr35902/lr35902.h" +#include + mLOG_DECLARE_CATEGORY(GB_MBC); mLOG_DECLARE_CATEGORY(GB_MEM);