From 011fa65b4d711131012e29c08d14c7349678456e Mon Sep 17 00:00:00 2001 From: scawful Date: Sun, 10 Nov 2024 16:58:24 -0500 Subject: [PATCH] Add missing include for stdint.h in overworld and snes_color headers --- src/incl/overworld.h | 4 +++- src/incl/snes_color.h | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/incl/overworld.h b/src/incl/overworld.h index f6537a50..f8597a88 100644 --- a/src/incl/overworld.h +++ b/src/incl/overworld.h @@ -5,6 +5,8 @@ extern "C" { #endif +#include + typedef struct z3_overworld z3_overworld; typedef struct z3_overworld_map z3_overworld_map; @@ -29,4 +31,4 @@ struct z3_overworld { } #endif -#endif // YAZE_OVERWORLD_H \ No newline at end of file +#endif // YAZE_OVERWORLD_H diff --git a/src/incl/snes_color.h b/src/incl/snes_color.h index 7bfa59af..db23db0c 100644 --- a/src/incl/snes_color.h +++ b/src/incl/snes_color.h @@ -1,12 +1,12 @@ #ifndef YAZE_BASE_SNES_COLOR_H_ #define YAZE_BASE_SNES_COLOR_H_ -#include - #ifdef __cplusplus extern "C" { #endif +#include + /** * @brief Primitive of 16-bit RGB SNES color. */ @@ -29,4 +29,4 @@ typedef struct snes_palette { } #endif -#endif // YAZE_BASE_SNES_COLOR_H_ \ No newline at end of file +#endif // YAZE_BASE_SNES_COLOR_H_