mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-03-11 01:39:40 +01:00
Add missing cstdint includes
Some files have been using various fixed-size types (uint32_t etc.), which are defined in stdint.h / cstdint, without including said header file. While this code worked with GCC12 (likely a transitive include), under GCC13 it fails to build due to "unknown type" errors.
This commit is contained in:
parent
62129e3d34
commit
8ce7a37070
@ -7,6 +7,7 @@
|
||||
#include <cstring>
|
||||
#include <zlib.h>
|
||||
#include <cstdio>
|
||||
#include <cstdint>
|
||||
|
||||
#include "graphics/Graphics.h"
|
||||
|
||||
|
@ -25,6 +25,7 @@
|
||||
# include <dirent.h>
|
||||
#endif
|
||||
#ifdef MACOSX
|
||||
# include <cstdint>
|
||||
# include <mach-o/dyld.h>
|
||||
#endif
|
||||
|
||||
|
@ -4,6 +4,7 @@
|
||||
#include "font.bz2.h"
|
||||
|
||||
#include <array>
|
||||
#include <cstdint>
|
||||
|
||||
unsigned char *font_data = nullptr;
|
||||
unsigned int *font_ptrs = nullptr;
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include <stdexcept>
|
||||
#include <cstdint>
|
||||
#include <fstream>
|
||||
#include <iterator>
|
||||
#include <iomanip>
|
||||
|
Loading…
x
Reference in New Issue
Block a user