1
0
mirror of synced 2025-02-13 09:02:37 +01:00

fix: Compile errors

This commit is contained in:
WerWolv 2025-02-03 21:11:48 +01:00
parent 1e8dd54b3e
commit 3f470aabe9
2 changed files with 2 additions and 1 deletions

View File

@ -180,7 +180,7 @@ namespace hex {
std::string header = hex::format("{}: {}", key, value);
headersList = curl_slist_append(headersList, header.c_str());
}
curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers);
curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headersList);
auto result = curl_easy_perform(curl);
if (result != CURLE_OK){

View File

@ -18,6 +18,7 @@
#include <sys/wait.h>
#include <unistd.h>
#include <GLFW/glfw3.h>
#include <imgui_impl_glfw.h>
#include <string.h>
#include <ranges>