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:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user