From 921e284d1d55a7067e0811adfc13e1f1de8f5c5c Mon Sep 17 00:00:00 2001 From: dashodanger Date: Fri, 7 Jun 2024 23:39:52 -0600 Subject: [PATCH] CI fixes --- source_files/obsidian_main/lib_util.cc | 2 +- source_files/slump/slump.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/source_files/obsidian_main/lib_util.cc b/source_files/obsidian_main/lib_util.cc index afce450c0..e1673fcd7 100644 --- a/source_files/obsidian_main/lib_util.cc +++ b/source_files/obsidian_main/lib_util.cc @@ -125,7 +125,7 @@ FILE *FileOpen(std::string_view name, std::string_view mode) } bool FileRename(std::string_view oldname, std::string_view newname) { - return rename(oldname.c_str(), newname.c_str()) == 0; + return rename(std::string(oldname).c_str(), std::string(newname).c_str()) == 0; } bool FileDelete(std::string_view name) { diff --git a/source_files/slump/slump.h b/source_files/slump/slump.h index 840f5d50b..916283c9f 100644 --- a/source_files/slump/slump.h +++ b/source_files/slump/slump.h @@ -29,6 +29,7 @@ * - Please do not call any derivative of this program SLIGE. */ +#include #include #include