mirror of
https://github.com/open-goal/jak-project
synced 2026-09-04 18:51:29 -04:00
Added missing <algorithm> header to fix compiler error. (#4396)
When compiling today, I had this error on Arch Linux x86-64 due to the missing <algorithm> header. <img width="1952" height="1079" alt="Screenshot from 2026-08-27 22-53-33" src="https://github.com/user-attachments/assets/c0101a23-ac2a-40a5-a1b9-b1e926e600a7" /> Adding the header fixes it. --------- Co-authored-by: Tyler Wilding <xtvaser@gmail.com>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
#include <algorithm>
|
||||
#include <cstdio>
|
||||
|
||||
#include "emitter_test_helpers.h"
|
||||
@@ -6,6 +7,7 @@
|
||||
#include "common/link_types.h"
|
||||
#include "common/type_system/TypeSystem.h"
|
||||
|
||||
#include "capstone/arm.h"
|
||||
#include "goalc/compiler/IR.h"
|
||||
#include "goalc/debugger/DebugInfo.h"
|
||||
#include "goalc/emitter/CodeTester.h"
|
||||
@@ -16,10 +18,8 @@
|
||||
#include "goalc/regalloc/Allocator.h"
|
||||
#include "goalc/regalloc/Allocator_v2.h"
|
||||
#include "gtest/gtest.h"
|
||||
#include <capstone/arm.h>
|
||||
#include <fmt/base.h>
|
||||
#include <fmt/format.h>
|
||||
|
||||
#include "fmt/base.h"
|
||||
#include "fmt/format.h"
|
||||
|
||||
using namespace emitter;
|
||||
|
||||
Reference in New Issue
Block a user