From b7973593ee04bc3e6a35bf28b7d5d796b6797885 Mon Sep 17 00:00:00 2001 From: Ranieri Date: Sat, 14 Feb 2026 13:00:36 -0300 Subject: [PATCH] fix: added missing header include for gcc (#54) --- .github/workflows/build.yml | 1 - .gitignore | 3 ++- ps2xAnalyzer/src/elf_analyzer.cpp | 1 + ps2xRecomp/include/ps2recomp/code_generator.h | 1 + ps2xRuntime/include/ps2_runtime.h | 1 + 5 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 065d2f7..9135b58 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,7 +33,6 @@ jobs: - name: Tests shell: cmd - continue-on-error: true # When tests start passing, this line should be removed. run: | .\build\ps2xTest\Release\ps2x_tests.exe - name: Upload artifact diff --git a/.gitignore b/.gitignore index 3839ad4..17aa25b 100644 --- a/.gitignore +++ b/.gitignore @@ -16,4 +16,5 @@ build ps2xRuntime/include/ps2_recompiled_functions.h ps2xRuntime/include/ps2_recompiled_stubs.h ps2xRuntime/src/runner/ps2_recompiled_functions.cpp -ps2xRuntime/src/runner/register_functions.cpp \ No newline at end of file +ps2xRuntime/src/runner/register_functions.cpp +ps2xRuntime/output \ No newline at end of file diff --git a/ps2xAnalyzer/src/elf_analyzer.cpp b/ps2xAnalyzer/src/elf_analyzer.cpp index 95bcb8e..301a442 100644 --- a/ps2xAnalyzer/src/elf_analyzer.cpp +++ b/ps2xAnalyzer/src/elf_analyzer.cpp @@ -14,6 +14,7 @@ #include #include #include +#include namespace fs = std::filesystem; diff --git a/ps2xRecomp/include/ps2recomp/code_generator.h b/ps2xRecomp/include/ps2recomp/code_generator.h index ddab83b..074a069 100644 --- a/ps2xRecomp/include/ps2recomp/code_generator.h +++ b/ps2xRecomp/include/ps2recomp/code_generator.h @@ -1,6 +1,7 @@ #ifndef PS2RECOMP_CODE_GENERATOR_H #define PS2RECOMP_CODE_GENERATOR_H +#include #include #include #include diff --git a/ps2xRuntime/include/ps2_runtime.h b/ps2xRuntime/include/ps2_runtime.h index c5eeacc..443b336 100644 --- a/ps2xRuntime/include/ps2_runtime.h +++ b/ps2xRuntime/include/ps2_runtime.h @@ -1,6 +1,7 @@ #ifndef PS2_RUNTIME_H #define PS2_RUNTIME_H +#include #include #include #include