summaryrefslogtreecommitdiffhomepage
path: root/elf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'elf.cpp')
-rw-r--r--elf.cpp5
1 files changed, 3 insertions, 2 deletions
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 <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);
}