From ae79f06ce8746a61183ad7687a1670edf672f04e Mon Sep 17 00:00:00 2001 From: MihailRis Date: Sun, 5 Nov 2023 15:39:37 +0300 Subject: [PATCH] GCC build fix --- src/constants.h | 3 ++- src/files/rle.h | 2 +- src/typedefs.h | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/constants.h b/src/constants.h index bd40c278..c8df3826 100644 --- a/src/constants.h +++ b/src/constants.h @@ -1,6 +1,7 @@ #ifndef SRC_CONSTANTS_H_ #define SRC_CONSTANTS_H_ +#include #include "typedefs.h" #define CHUNK_W 16 @@ -17,4 +18,4 @@ inline uint vox_index(int x, int y, int z, int w, int d) { return (y * d + z) * w + x; } -#endif // SRC_CONSTANTS_H_ \ No newline at end of file +#endif // SRC_CONSTANTS_H_ diff --git a/src/files/rle.h b/src/files/rle.h index b12a1adc..0dcbe042 100644 --- a/src/files/rle.h +++ b/src/files/rle.h @@ -14,4 +14,4 @@ namespace extrle { size_t decode(const ubyte* src, size_t length, ubyte* dst); } -#endif // FILES_RLE_H_ \ No newline at end of file +#endif // FILES_RLE_H_ diff --git a/src/typedefs.h b/src/typedefs.h index 513bf940..8bc06297 100644 --- a/src/typedefs.h +++ b/src/typedefs.h @@ -1,3 +1,4 @@ +#include #include typedef unsigned int uint;