mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-17 09:22:42 +01:00
Codefix: Make sure safeguards.h is the last included non-table header. (#14687)
This commit is contained in:
@@ -46,6 +46,10 @@
|
||||
#include "company_cmd.h"
|
||||
#include "misc_cmd.h"
|
||||
|
||||
#if defined(WITH_ZLIB)
|
||||
#include "network/network_content.h"
|
||||
#endif /* WITH_ZLIB */
|
||||
|
||||
#include "table/strings.h"
|
||||
|
||||
#include "safeguards.h"
|
||||
@@ -2176,7 +2180,6 @@ static bool ConNetworkAuthorizedKey(std::span<std::string_view> argv)
|
||||
|
||||
/* Content downloading only is available with ZLIB */
|
||||
#if defined(WITH_ZLIB)
|
||||
#include "network/network_content.h"
|
||||
|
||||
/** Resolve a string to a content type. */
|
||||
static ContentType StringToContentType(std::string_view str)
|
||||
|
||||
Reference in New Issue
Block a user