diff --git a/src/boards/164.cpp b/src/boards/164.cpp index e841910d..2c676136 100644 --- a/src/boards/164.cpp +++ b/src/boards/164.cpp @@ -19,7 +19,8 @@ */ #include "mapinc.h" - +#include +#include static uint8 cmd; static uint8 DRegs[8]; static SFORMAT StateRegs[]= diff --git a/src/boards/mapinc.h b/src/boards/mapinc.h index 11d254ce..36cb06cf 100644 --- a/src/boards/mapinc.h +++ b/src/boards/mapinc.h @@ -1,3 +1,5 @@ +#include +#include #include "../types.h" #include "../utils/memory.h" #include "../x6502.h" @@ -8,3 +10,4 @@ #include "../cart.h" #include "../cheat.h" #include "../unif.h" + diff --git a/src/palette.cpp b/src/palette.cpp index 0b9a2f56..082394e7 100644 --- a/src/palette.cpp +++ b/src/palette.cpp @@ -20,15 +20,20 @@ #include #include -#include +#include +#include + #include "types.h" #include "file.h" #include "fceu.h" -#include "driver.h" +#include "driver.h" +#include "boards/mapinc.h" #include "palette.h" -#include "palettes/palettes.h" +#include "palettes/palettes.h" + + #ifndef M_PI #define M_PI 3.14159265358979323846 diff --git a/src/utils/memory.cpp b/src/utils/memory.cpp index 1d427958..1e6b7710 100644 --- a/src/utils/memory.cpp +++ b/src/utils/memory.cpp @@ -21,7 +21,9 @@ /// \file /// \brief memory management services provided by FCEU core -#include +#include +#include +#include #include "../types.h" #include "../fceu.h" #include "memory.h"