From f8c4fe1614cc79df9f97c8a7754cf2a5aaf5063d Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Tue, 9 Jul 2024 18:58:56 +0200 Subject: Use libreichwein, and googletest from Debian --- elf.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'elf.cpp') diff --git a/elf.cpp b/elf.cpp index 43d595d..d901c63 100644 --- a/elf.cpp +++ b/elf.cpp @@ -1,8 +1,9 @@ #include "elf.h" -#include "file.h" #include "minicc.h" +#include + #include // TODO @@ -195,7 +196,7 @@ void Elf::Write(const std::filesystem::path& path, const std::vector& c AddSectionHeaderData(elf, code, data); AddSectionHeaderSectionNames(elf, code, data); - File::setFile(path, elf); + Reichwein::File::setFile(path, elf); fs::permissions(path, fs::perms::owner_exec | fs::perms::group_exec | fs::perms::others_exec, fs::perm_options::add); } -- cgit v1.2.3