From 41ddd911b7b52020f33789b7e6818e461c5a0c9a Mon Sep 17 00:00:00 2001 From: Martin Griffin Date: Sun, 7 Apr 2024 12:08:35 +0100 Subject: [PATCH] Include gba/defines.h in gba/types.h (#4364) If gba/types.h is included before gba/defines.h, it ends up declaring a variable named PACKED rather than specifying that BgCnt should be packed. --- include/gba/types.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/gba/types.h b/include/gba/types.h index 4acaee2d23..65b65187f8 100644 --- a/include/gba/types.h +++ b/include/gba/types.h @@ -2,6 +2,7 @@ #define GUARD_GBA_TYPES_H #include +#include "gba/defines.h" typedef uint8_t u8; typedef uint16_t u16;