diff options
author | Roland Reichwein <mail@reichwein.it> | 2024-07-09 18:58:56 +0200 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2024-07-09 18:58:56 +0200 |
commit | f8c4fe1614cc79df9f97c8a7754cf2a5aaf5063d (patch) | |
tree | a5912910fc40b408c05172d438cd0d53192b2211 /elf.cpp | |
parent | c156b07da6e8550f989919c3a015acdedfe8664f (diff) |
Use libreichwein, and googletest from Debian
Diffstat (limited to 'elf.cpp')
-rw-r--r-- | elf.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,8 +1,9 @@ #include "elf.h" -#include "file.h" #include "minicc.h" +#include <libreichwein/file.h> + #include <iostream> // TODO @@ -195,7 +196,7 @@ void Elf::Write(const std::filesystem::path& path, const std::vector<uint8_t>& 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); } |