diff options
| author | Liam Mitchell <[email protected]> | 2025-02-19 00:08:41 +0000 |
|---|---|---|
| committer | Liam Mitchell <[email protected]> | 2025-02-19 00:08:41 +0000 |
| commit | 7e700445334d8d3269bca0bf446ff63211296dce (patch) | |
| tree | 4ae289d6c87aee133defd6ecaf173f4eadb64036 /src | |
| parent | changelog (diff) | |
| download | zen-7e700445334d8d3269bca0bf446ff63211296dce.tar.xz zen-7e700445334d8d3269bca0bf446ff63211296dce.zip | |
Linux compilation fixes
Diffstat (limited to 'src')
| -rw-r--r-- | src/zencore/include/zencore/memory/fmalloc.h | 2 | ||||
| -rw-r--r-- | src/zencore/memory/mallocmimalloc.cpp | 2 | ||||
| -rw-r--r-- | src/zencore/process.cpp | 1 | ||||
| -rw-r--r-- | src/zenstore/chunking.cpp | 1 | ||||
| -rw-r--r-- | src/zenutil/chunkrequests.cpp | 2 | ||||
| -rw-r--r-- | src/zenutil/service.cpp | 2 |
6 files changed, 8 insertions, 2 deletions
diff --git a/src/zencore/include/zencore/memory/fmalloc.h b/src/zencore/include/zencore/memory/fmalloc.h index aeb05b651..5b476429e 100644 --- a/src/zencore/include/zencore/memory/fmalloc.h +++ b/src/zencore/include/zencore/memory/fmalloc.h @@ -2,6 +2,8 @@ #pragma once +#include <cstddef> + #include <zenbase/zenbase.h> namespace zen { diff --git a/src/zencore/memory/mallocmimalloc.cpp b/src/zencore/memory/mallocmimalloc.cpp index 1919af3bf..1f9aff404 100644 --- a/src/zencore/memory/mallocmimalloc.cpp +++ b/src/zencore/memory/mallocmimalloc.cpp @@ -1,5 +1,7 @@ // Copyright Epic Games, Inc. All Rights Reserved. +#include <cstring> + #include <zencore/intmath.h> #include <zencore/memory/align.h> #include <zencore/memory/mallocmimalloc.h> diff --git a/src/zencore/process.cpp b/src/zencore/process.cpp index 8e903f05f..8dc86371e 100644 --- a/src/zencore/process.cpp +++ b/src/zencore/process.cpp @@ -24,7 +24,6 @@ # include <sys/sem.h> # include <sys/stat.h> # include <sys/syscall.h> -# include <sys/sysctl.h> # include <sys/wait.h> # include <time.h> # include <unistd.h> diff --git a/src/zenstore/chunking.cpp b/src/zenstore/chunking.cpp index 30edd322a..71f0a06e4 100644 --- a/src/zenstore/chunking.cpp +++ b/src/zenstore/chunking.cpp @@ -5,6 +5,7 @@ #include <gsl/gsl-lite.hpp> #include <cmath> +#include <cstring> namespace zen::detail { diff --git a/src/zenutil/chunkrequests.cpp b/src/zenutil/chunkrequests.cpp index 745363668..e28df02a8 100644 --- a/src/zenutil/chunkrequests.cpp +++ b/src/zenutil/chunkrequests.cpp @@ -1,5 +1,7 @@ // Copyright Epic Games, Inc. All Rights Reserved. +#include <algorithm> + #include <zenutil/chunkrequests.h> #include <zencore/blake3.h> diff --git a/src/zenutil/service.cpp b/src/zenutil/service.cpp index 45874d1b5..8d6b399ca 100644 --- a/src/zenutil/service.cpp +++ b/src/zenutil/service.cpp @@ -973,7 +973,7 @@ QueryInstalledService(std::string_view ServiceName, ServiceInfo& OutInfo) } else { - ZEN_DEBUG("systemctl status failed with '{}"({}), Res.second, Res.first); + ZEN_DEBUG("systemctl status failed with '{}'({})", Res.second, Res.first); } } |