From 456258604ea7c97c1f0b8cbbfdd1920f6ce4636a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xenxo=20Espasand=C3=ADn?= Date: Tue, 28 Feb 2023 16:32:53 +0100 Subject: [PATCH] refactor(headers): cleanup (#83) --- include/gsc_api.hpp | 32 ----------------------------- premake5.lua | 20 ------------------ src/gsc/assembler.cpp | 2 +- src/gsc/assembler.hpp | 2 +- src/gsc/compiler.cpp | 2 +- src/gsc/context.cpp | 2 +- src/gsc/decompiler.cpp | 4 ++-- src/gsc/disassembler.cpp | 4 ++-- src/gsc/disassembler.hpp | 2 +- src/gsc/lexer.cpp | 4 ++-- src/gsc/misc/asset.cpp | 2 +- src/gsc/misc/ast.cpp | 2 +- src/gsc/misc/exception.cpp | 2 +- src/gsc/misc/location.cpp | 2 +- src/gsc/misc/lookahead.cpp | 2 +- src/gsc/misc/scope.cpp | 2 +- src/gsc/misc/token.cpp | 4 ++-- src/gsc/preprocessor.cpp | 2 +- src/gsc/source.cpp | 4 ++-- src/h1/h1.hpp | 4 ++-- src/h2/h2.hpp | 4 ++-- src/iw5/iw5_pc.hpp | 4 ++-- src/iw5/iw5_ps.hpp | 4 ++-- src/iw5/iw5_xb.hpp | 4 ++-- src/iw6/iw6_pc.hpp | 4 ++-- src/iw6/iw6_ps.hpp | 4 ++-- src/iw6/iw6_xb.hpp | 4 ++-- src/iw7/iw7.hpp | 4 ++-- src/iw8/iw8.hpp | 4 ++-- src/iw9/iw9.hpp | 4 ++-- src/s1/s1_pc.hpp | 4 ++-- src/s1/s1_ps.hpp | 4 ++-- src/s1/s1_xb.hpp | 4 ++-- src/s2/s2.hpp | 4 ++-- src/s4/s4.hpp | 4 ++-- src/stdinc.cpp | 6 ------ src/stdinc.hpp | 10 ++++++++- src/t4/t4.hpp | 4 ++-- src/t5/t5.hpp | 4 ++-- src/t6/t6.hpp | 1 + src/tool/main.cpp | 42 +++++++++++++++++++------------------- src/utils/file.cpp | 2 +- src/utils/reader.cpp | 2 +- src/utils/string.cpp | 2 +- src/utils/writer.cpp | 2 +- src/utils/zlib.cpp | 4 ++-- 46 files changed, 95 insertions(+), 144 deletions(-) delete mode 100644 include/gsc_api.hpp delete mode 100644 src/stdinc.cpp diff --git a/include/gsc_api.hpp b/include/gsc_api.hpp deleted file mode 100644 index d24fbb08..00000000 --- a/include/gsc_api.hpp +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2023 xensik. All rights reserved. -// -// Use of this source code is governed by a GNU GPLv3 license -// that can be found in the LICENSE file. - -#pragma once - -#ifdef _WINDOWS_ -#undef ERROR -#undef IN -#undef TRUE -#undef FALSE -#undef far -#endif - -#include "../src/stdinc.hpp" - -#ifdef XSK_GSC_IW5_PC -#include "../src/iw5/iw5_pc.hpp" -#endif - -#ifdef XSK_GSC_IW6_PC -#include "../src/iw6/iw6_pc.hpp" -#endif - -#ifdef XSK_GSC_S1_PC -#include "../src/s1/s1_pc.hpp" -#endif - -#ifdef XSK_GSC_T6_PC -#include "../src/t6/t6.hpp" -#endif diff --git a/premake5.lua b/premake5.lua index dc441773..981079d6 100644 --- a/premake5.lua +++ b/premake5.lua @@ -131,7 +131,6 @@ project "xsk-tool" } includedirs { - "./src/tool", "./src" } @@ -149,7 +148,6 @@ project "xsk-utils" } includedirs { - "./src/utils", "./src" } @@ -167,7 +165,6 @@ project "xsk-gsc" } includedirs { - "./src/gsc", "./src" } @@ -187,7 +184,6 @@ project "xsk-iw5_pc" } includedirs { - "./src/iw5", "./src" } @@ -207,7 +203,6 @@ project "xsk-iw5_ps" } includedirs { - "./src/iw5", "./src" } @@ -227,7 +222,6 @@ project "xsk-iw5_xb" } includedirs { - "./src/iw5", "./src" } @@ -247,7 +241,6 @@ project "xsk-iw6_pc" } includedirs { - "./src/iw6", "./src" } @@ -267,7 +260,6 @@ project "xsk-iw6_ps" } includedirs { - "./src/iw6", "./src" } @@ -287,7 +279,6 @@ project "xsk-iw6_xb" } includedirs { - "./src/iw6", "./src" } @@ -307,7 +298,6 @@ project "xsk-s1_pc" } includedirs { - "./src/s1", "./src" } @@ -327,7 +317,6 @@ project "xsk-s1_ps" } includedirs { - "./src/s1", "./src" } @@ -347,7 +336,6 @@ project "xsk-s1_xb" } includedirs { - "./src/s1", "./src" } @@ -364,7 +352,6 @@ project "xsk-iw7" } includedirs { - "./src/iw7", "./src" } @@ -381,7 +368,6 @@ project "xsk-iw8" } includedirs { - "./src/iw8", "./src" } @@ -398,7 +384,6 @@ project "xsk-iw9" } includedirs { - "./src/iw9", "./src" } @@ -415,7 +400,6 @@ project "xsk-h1" } includedirs { - "./src/h1", "./src" } @@ -432,7 +416,6 @@ project "xsk-h2" } includedirs { - "./src/h2", "./src" } @@ -449,7 +432,6 @@ project "xsk-s2" } includedirs { - "./src/s2", "./src" } @@ -466,7 +448,6 @@ project "xsk-s4" } includedirs { - "./src/s4", "./src" } @@ -483,7 +464,6 @@ project "xsk-t6" } includedirs { - "./src/t6", "./src" } diff --git a/src/gsc/assembler.cpp b/src/gsc/assembler.cpp index 05f8adf5..0c561e1c 100644 --- a/src/gsc/assembler.cpp +++ b/src/gsc/assembler.cpp @@ -3,7 +3,7 @@ // Use of this source code is governed by a GNU GPLv3 license // that can be found in the LICENSE file. -#include "stdinc.hpp" +#include #include "assembler.hpp" #include "context.hpp" diff --git a/src/gsc/assembler.hpp b/src/gsc/assembler.hpp index d934e028..ddddf88c 100644 --- a/src/gsc/assembler.hpp +++ b/src/gsc/assembler.hpp @@ -6,7 +6,7 @@ #pragma once #include "misc/types.hpp" -#include "utils/writer.hpp" +#include namespace xsk::gsc { diff --git a/src/gsc/compiler.cpp b/src/gsc/compiler.cpp index 8680fb50..59969d33 100644 --- a/src/gsc/compiler.cpp +++ b/src/gsc/compiler.cpp @@ -3,7 +3,7 @@ // Use of this source code is governed by a GNU GPLv3 license // that can be found in the LICENSE file. -#include "stdinc.hpp" +#include #include "compiler.hpp" #include "context.hpp" diff --git a/src/gsc/context.cpp b/src/gsc/context.cpp index eedecdc7..36836961 100644 --- a/src/gsc/context.cpp +++ b/src/gsc/context.cpp @@ -3,7 +3,7 @@ // Use of this source code is governed by a GNU GPLv3 license // that can be found in the LICENSE file. -#include "stdinc.hpp" +#include #include "context.hpp" namespace xsk::gsc diff --git a/src/gsc/decompiler.cpp b/src/gsc/decompiler.cpp index 58b77472..5838cc38 100644 --- a/src/gsc/decompiler.cpp +++ b/src/gsc/decompiler.cpp @@ -3,10 +3,10 @@ // Use of this source code is governed by a GNU GPLv3 license // that can be found in the LICENSE file. -#include "stdinc.hpp" +#include #include "decompiler.hpp" #include "context.hpp" -#include "utils/string.hpp" +#include namespace xsk::gsc { diff --git a/src/gsc/disassembler.cpp b/src/gsc/disassembler.cpp index 4800befa..8259aa3c 100644 --- a/src/gsc/disassembler.cpp +++ b/src/gsc/disassembler.cpp @@ -3,10 +3,10 @@ // Use of this source code is governed by a GNU GPLv3 license // that can be found in the LICENSE file. -#include "stdinc.hpp" +#include #include "disassembler.hpp" #include "context.hpp" -#include "utils/string.hpp" +#include namespace xsk::gsc { diff --git a/src/gsc/disassembler.hpp b/src/gsc/disassembler.hpp index b65bc703..15321d25 100644 --- a/src/gsc/disassembler.hpp +++ b/src/gsc/disassembler.hpp @@ -6,7 +6,7 @@ #pragma once #include "misc/types.hpp" -#include "utils/reader.hpp" +#include namespace xsk::gsc { diff --git a/src/gsc/lexer.cpp b/src/gsc/lexer.cpp index ab192686..1e360027 100644 --- a/src/gsc/lexer.cpp +++ b/src/gsc/lexer.cpp @@ -3,10 +3,10 @@ // Use of this source code is governed by a GNU GPLv3 license // that can be found in the LICENSE file. -#include "stdinc.hpp" +#include #include "lexer.hpp" #include "context.hpp" -#include "utils/string.hpp" +#include namespace xsk::gsc { diff --git a/src/gsc/misc/asset.cpp b/src/gsc/misc/asset.cpp index 38bfc377..ff1501f1 100644 --- a/src/gsc/misc/asset.cpp +++ b/src/gsc/misc/asset.cpp @@ -3,7 +3,7 @@ // Use of this source code is governed by a GNU GPLv3 license // that can be found in the LICENSE file. -#include "stdinc.hpp" +#include #include "asset.hpp" namespace xsk::gsc diff --git a/src/gsc/misc/ast.cpp b/src/gsc/misc/ast.cpp index b31f7a76..ffb18d1a 100644 --- a/src/gsc/misc/ast.cpp +++ b/src/gsc/misc/ast.cpp @@ -3,7 +3,7 @@ // Use of this source code is governed by a GNU GPLv3 license // that can be found in the LICENSE file. -#include "stdinc.hpp" +#include #include "location.hpp" #include "ast.hpp" diff --git a/src/gsc/misc/exception.cpp b/src/gsc/misc/exception.cpp index 381e317f..ef1b3ead 100644 --- a/src/gsc/misc/exception.cpp +++ b/src/gsc/misc/exception.cpp @@ -3,7 +3,7 @@ // Use of this source code is governed by a GNU GPLv3 license // that can be found in the LICENSE file. -#include "stdinc.hpp" +#include #include "location.hpp" #include "exception.hpp" diff --git a/src/gsc/misc/location.cpp b/src/gsc/misc/location.cpp index 71e89faa..fcd44185 100644 --- a/src/gsc/misc/location.cpp +++ b/src/gsc/misc/location.cpp @@ -3,7 +3,7 @@ // Use of this source code is governed by a GNU GPLv3 license // that can be found in the LICENSE file. -#include "stdinc.hpp" +#include #include "location.hpp" namespace xsk::gsc diff --git a/src/gsc/misc/lookahead.cpp b/src/gsc/misc/lookahead.cpp index ba4aca82..24f8114d 100644 --- a/src/gsc/misc/lookahead.cpp +++ b/src/gsc/misc/lookahead.cpp @@ -3,7 +3,7 @@ // Use of this source code is governed by a GNU GPLv3 license // that can be found in the LICENSE file. -#include "stdinc.hpp" +#include #include "lookahead.hpp" namespace xsk::gsc diff --git a/src/gsc/misc/scope.cpp b/src/gsc/misc/scope.cpp index 58d15116..b7340ca4 100644 --- a/src/gsc/misc/scope.cpp +++ b/src/gsc/misc/scope.cpp @@ -3,7 +3,7 @@ // Use of this source code is governed by a GNU GPLv3 license // that can be found in the LICENSE file. -#include "stdinc.hpp" +#include #include "scope.hpp" namespace xsk::gsc diff --git a/src/gsc/misc/token.cpp b/src/gsc/misc/token.cpp index d0430534..c1a21af4 100644 --- a/src/gsc/misc/token.cpp +++ b/src/gsc/misc/token.cpp @@ -3,11 +3,11 @@ // Use of this source code is governed by a GNU GPLv3 license // that can be found in the LICENSE file. -#include "stdinc.hpp" +#include #include "location.hpp" #include "space.hpp" #include "token.hpp" -#include "utils/string.hpp" +#include namespace xsk::gsc { diff --git a/src/gsc/preprocessor.cpp b/src/gsc/preprocessor.cpp index 391befce..15ca23ac 100644 --- a/src/gsc/preprocessor.cpp +++ b/src/gsc/preprocessor.cpp @@ -3,7 +3,7 @@ // Use of this source code is governed by a GNU GPLv3 license // that can be found in the LICENSE file. -#include "stdinc.hpp" +#include #include "preprocessor.hpp" #include "context.hpp" #include "parser.hpp" diff --git a/src/gsc/source.cpp b/src/gsc/source.cpp index 2715d983..13f8b6b2 100644 --- a/src/gsc/source.cpp +++ b/src/gsc/source.cpp @@ -3,12 +3,12 @@ // Use of this source code is governed by a GNU GPLv3 license // that can be found in the LICENSE file. -#include "stdinc.hpp" +#include #include "source.hpp" #include "context.hpp" #include "preprocessor.hpp" #include "parser.hpp" -#include "utils/string.hpp" +#include namespace xsk::gsc { diff --git a/src/h1/h1.hpp b/src/h1/h1.hpp index cfcf47e5..465c5b5a 100644 --- a/src/h1/h1.hpp +++ b/src/h1/h1.hpp @@ -5,8 +5,8 @@ #pragma once -#include "stdinc.hpp" -#include "gsc/context.hpp" +#include +#include namespace xsk::gsc::h1 { diff --git a/src/h2/h2.hpp b/src/h2/h2.hpp index 1b92460a..31a2f7b2 100644 --- a/src/h2/h2.hpp +++ b/src/h2/h2.hpp @@ -5,8 +5,8 @@ #pragma once -#include "stdinc.hpp" -#include "gsc/context.hpp" +#include +#include namespace xsk::gsc::h2 { diff --git a/src/iw5/iw5_pc.hpp b/src/iw5/iw5_pc.hpp index bd7f7e7c..046eed23 100644 --- a/src/iw5/iw5_pc.hpp +++ b/src/iw5/iw5_pc.hpp @@ -5,8 +5,8 @@ #pragma once -#include "stdinc.hpp" -#include "gsc/context.hpp" +#include +#include namespace xsk::gsc::iw5_pc { diff --git a/src/iw5/iw5_ps.hpp b/src/iw5/iw5_ps.hpp index d18e8434..00812b93 100644 --- a/src/iw5/iw5_ps.hpp +++ b/src/iw5/iw5_ps.hpp @@ -5,8 +5,8 @@ #pragma once -#include "stdinc.hpp" -#include "gsc/context.hpp" +#include +#include namespace xsk::gsc::iw5_ps { diff --git a/src/iw5/iw5_xb.hpp b/src/iw5/iw5_xb.hpp index 48eb1077..3801bbbe 100644 --- a/src/iw5/iw5_xb.hpp +++ b/src/iw5/iw5_xb.hpp @@ -5,8 +5,8 @@ #pragma once -#include "stdinc.hpp" -#include "gsc/context.hpp" +#include +#include namespace xsk::gsc::iw5_xb { diff --git a/src/iw6/iw6_pc.hpp b/src/iw6/iw6_pc.hpp index c41e87a3..770f0623 100644 --- a/src/iw6/iw6_pc.hpp +++ b/src/iw6/iw6_pc.hpp @@ -5,8 +5,8 @@ #pragma once -#include "stdinc.hpp" -#include "gsc/context.hpp" +#include +#include namespace xsk::gsc::iw6_pc { diff --git a/src/iw6/iw6_ps.hpp b/src/iw6/iw6_ps.hpp index c577bd40..47fda1b0 100644 --- a/src/iw6/iw6_ps.hpp +++ b/src/iw6/iw6_ps.hpp @@ -5,8 +5,8 @@ #pragma once -#include "stdinc.hpp" -#include "gsc/context.hpp" +#include +#include namespace xsk::gsc::iw6_ps { diff --git a/src/iw6/iw6_xb.hpp b/src/iw6/iw6_xb.hpp index 580e9581..fe42d099 100644 --- a/src/iw6/iw6_xb.hpp +++ b/src/iw6/iw6_xb.hpp @@ -5,8 +5,8 @@ #pragma once -#include "stdinc.hpp" -#include "gsc/context.hpp" +#include +#include namespace xsk::gsc::iw6_xb { diff --git a/src/iw7/iw7.hpp b/src/iw7/iw7.hpp index da28a5e6..8958eb0d 100644 --- a/src/iw7/iw7.hpp +++ b/src/iw7/iw7.hpp @@ -5,8 +5,8 @@ #pragma once -#include "stdinc.hpp" -#include "gsc/context.hpp" +#include +#include namespace xsk::gsc::iw7 { diff --git a/src/iw8/iw8.hpp b/src/iw8/iw8.hpp index 7a0e4dcd..caf8e061 100644 --- a/src/iw8/iw8.hpp +++ b/src/iw8/iw8.hpp @@ -5,8 +5,8 @@ #pragma once -#include "stdinc.hpp" -#include "gsc/context.hpp" +#include +#include namespace xsk::gsc::iw8 { diff --git a/src/iw9/iw9.hpp b/src/iw9/iw9.hpp index 5255fec1..9aa5ff36 100644 --- a/src/iw9/iw9.hpp +++ b/src/iw9/iw9.hpp @@ -5,8 +5,8 @@ #pragma once -#include "stdinc.hpp" -#include "gsc/context.hpp" +#include +#include namespace xsk::gsc::iw9 { diff --git a/src/s1/s1_pc.hpp b/src/s1/s1_pc.hpp index 64936683..bb141222 100644 --- a/src/s1/s1_pc.hpp +++ b/src/s1/s1_pc.hpp @@ -5,8 +5,8 @@ #pragma once -#include "stdinc.hpp" -#include "gsc/context.hpp" +#include +#include namespace xsk::gsc::s1_pc { diff --git a/src/s1/s1_ps.hpp b/src/s1/s1_ps.hpp index 2310fd55..4d4b0541 100644 --- a/src/s1/s1_ps.hpp +++ b/src/s1/s1_ps.hpp @@ -5,8 +5,8 @@ #pragma once -#include "stdinc.hpp" -#include "gsc/context.hpp" +#include +#include namespace xsk::gsc::s1_ps { diff --git a/src/s1/s1_xb.hpp b/src/s1/s1_xb.hpp index a386b815..4beb657f 100644 --- a/src/s1/s1_xb.hpp +++ b/src/s1/s1_xb.hpp @@ -5,8 +5,8 @@ #pragma once -#include "stdinc.hpp" -#include "gsc/context.hpp" +#include +#include namespace xsk::gsc::s1_xb { diff --git a/src/s2/s2.hpp b/src/s2/s2.hpp index c2edb113..966c58d5 100644 --- a/src/s2/s2.hpp +++ b/src/s2/s2.hpp @@ -5,8 +5,8 @@ #pragma once -#include "stdinc.hpp" -#include "gsc/context.hpp" +#include +#include namespace xsk::gsc::s2 { diff --git a/src/s4/s4.hpp b/src/s4/s4.hpp index 4250cdfa..9783e06f 100644 --- a/src/s4/s4.hpp +++ b/src/s4/s4.hpp @@ -5,8 +5,8 @@ #pragma once -#include "stdinc.hpp" -#include "gsc/context.hpp" +#include +#include namespace xsk::gsc::s4 { diff --git a/src/stdinc.cpp b/src/stdinc.cpp deleted file mode 100644 index 197142fa..00000000 --- a/src/stdinc.cpp +++ /dev/null @@ -1,6 +0,0 @@ -// Copyright 2023 xensik. All rights reserved. -// -// Use of this source code is governed by a GNU GPLv3 license -// that can be found in the LICENSE file. - -#include "stdinc.hpp" diff --git a/src/stdinc.hpp b/src/stdinc.hpp index c5cb79ab..13783c07 100644 --- a/src/stdinc.hpp +++ b/src/stdinc.hpp @@ -31,7 +31,15 @@ #include namespace fmt = std; #else -#include "fmt/core.h" +#include +#endif + +#ifdef _WINDOWS_ +#undef ERROR +#undef IN +#undef TRUE +#undef FALSE +#undef far #endif using namespace std::literals; diff --git a/src/t4/t4.hpp b/src/t4/t4.hpp index c5e4c755..efbbb171 100644 --- a/src/t4/t4.hpp +++ b/src/t4/t4.hpp @@ -5,8 +5,8 @@ #pragma once -#include "stdinc.hpp" -#include "gsc/context.hpp" +#include +#include namespace xsk::gsc::t4 { diff --git a/src/t5/t5.hpp b/src/t5/t5.hpp index b2e34030..321c698a 100644 --- a/src/t5/t5.hpp +++ b/src/t5/t5.hpp @@ -5,8 +5,8 @@ #pragma once -#include "stdinc.hpp" -#include "gsc/context.hpp" +#include +#include namespace xsk::gsc::t5 { diff --git a/src/t6/t6.hpp b/src/t6/t6.hpp index 1739836b..b1813fd7 100644 --- a/src/t6/t6.hpp +++ b/src/t6/t6.hpp @@ -5,6 +5,7 @@ #pragma once +#include #include "utils/string.hpp" #include "utils/reader.hpp" #include "utils/writer.hpp" diff --git a/src/tool/main.cpp b/src/tool/main.cpp index 30e88663..5bbd1674 100644 --- a/src/tool/main.cpp +++ b/src/tool/main.cpp @@ -3,27 +3,27 @@ // Use of this source code is governed by a GNU GPLv3 license // that can be found in the LICENSE file. -#include "stdinc.hpp" -#include "utils/zlib.hpp" -#include "utils/file.hpp" -#include "utils/string.hpp" -#include "iw5/iw5_pc.hpp" -#include "iw5/iw5_ps.hpp" -#include "iw5/iw5_xb.hpp" -#include "iw6/iw6_pc.hpp" -#include "iw6/iw6_ps.hpp" -#include "iw6/iw6_xb.hpp" -#include "iw7/iw7.hpp" -#include "iw8/iw8.hpp" -#include "iw9/iw9.hpp" -#include "s1/s1_pc.hpp" -#include "s1/s1_ps.hpp" -#include "s1/s1_xb.hpp" -#include "s2/s2.hpp" -#include "s4/s4.hpp" -#include "h1/h1.hpp" -#include "h2/h2.hpp" -#include "t6/t6.hpp" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include

+#include

+#include namespace fs = std::filesystem; diff --git a/src/utils/file.cpp b/src/utils/file.cpp index 0add6a81..0a3db608 100644 --- a/src/utils/file.cpp +++ b/src/utils/file.cpp @@ -3,7 +3,7 @@ // Use of this source code is governed by a GNU GPLv3 license // that can be found in the LICENSE file. -#include "stdinc.hpp" +#include #include "file.hpp" namespace xsk::utils diff --git a/src/utils/reader.cpp b/src/utils/reader.cpp index b9c7d37a..09a1f29f 100644 --- a/src/utils/reader.cpp +++ b/src/utils/reader.cpp @@ -3,7 +3,7 @@ // Use of this source code is governed by a GNU GPLv3 license // that can be found in the LICENSE file. -#include "stdinc.hpp" +#include #include "reader.hpp" namespace xsk::utils diff --git a/src/utils/string.cpp b/src/utils/string.cpp index 44008fbf..f69ec94c 100644 --- a/src/utils/string.cpp +++ b/src/utils/string.cpp @@ -3,7 +3,7 @@ // Use of this source code is governed by a GNU GPLv3 license // that can be found in the LICENSE file. -#include "stdinc.hpp" +#include #include "string.hpp" namespace xsk::utils diff --git a/src/utils/writer.cpp b/src/utils/writer.cpp index 6e88db8a..445bea2b 100644 --- a/src/utils/writer.cpp +++ b/src/utils/writer.cpp @@ -3,7 +3,7 @@ // Use of this source code is governed by a GNU GPLv3 license // that can be found in the LICENSE file. -#include "stdinc.hpp" +#include #include "writer.hpp" namespace xsk::utils diff --git a/src/utils/zlib.cpp b/src/utils/zlib.cpp index efd07d17..b34ef9b9 100644 --- a/src/utils/zlib.cpp +++ b/src/utils/zlib.cpp @@ -3,9 +3,9 @@ // Use of this source code is governed by a GNU GPLv3 license // that can be found in the LICENSE file. -#include "stdinc.hpp" +#include #include "zlib.hpp" -#include "zlib.h" +#include namespace xsk::utils {