1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-22 03:42:41 +01:00

Codefix: Make sure safeguards.h is the last included non-table header. (#14687)

This commit is contained in:
Peter Nelson
2025-10-11 10:22:50 +01:00
committed by GitHub
parent f935e34d90
commit 8e055156e3
9 changed files with 42 additions and 28 deletions

View File

@@ -22,6 +22,10 @@
#include "table/strings.h"
#ifdef WITH_PNG
#include <png.h>
#endif /* WITH_PNG */
#include "safeguards.h"
/**
@@ -72,8 +76,6 @@ static inline uint8_t RGBToGreyscale(uint8_t red, uint8_t green, uint8_t blue)
#ifdef WITH_PNG
#include <png.h>
/**
* The PNG Heightmap loader.
*/