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 dP
parent be3df87dd9
commit 1bae740aab
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.
*/