From 780a67a40d1d2671cd2e490819bd7436acdc91c6 Mon Sep 17 00:00:00 2001 From: Green Sky Date: Mon, 13 Nov 2023 13:24:48 +0100 Subject: [PATCH] update for toxcore changes --- external/solanaceae_toxcore | 2 +- external/toxcore/CMakeLists.txt | 5 +++++ src/tox_ui_utils.cpp | 2 ++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/external/solanaceae_toxcore b/external/solanaceae_toxcore index f8851c10..d05875f4 160000 --- a/external/solanaceae_toxcore +++ b/external/solanaceae_toxcore @@ -1 +1 @@ -Subproject commit f8851c1033514d3ead25f4df1b643a0e5960ecbc +Subproject commit d05875f489577e9a2c26234810058b41c3236cf7 diff --git a/external/toxcore/CMakeLists.txt b/external/toxcore/CMakeLists.txt index fbd36e6c..fc61af11 100644 --- a/external/toxcore/CMakeLists.txt +++ b/external/toxcore/CMakeLists.txt @@ -155,6 +155,11 @@ configure_file( ${TOX_DIR}tox/tox_events.h @ONLY ) +configure_file( + ${TOX_DIR}toxcore/tox_private.h + ${TOX_DIR}tox/tox_private.h + @ONLY +) target_include_directories(toxcore PRIVATE "${TOX_DIR}toxcore") target_include_directories(toxcore PUBLIC "${TOX_DIR}") diff --git a/src/tox_ui_utils.cpp b/src/tox_ui_utils.cpp index 266c598d..ca3e5bc0 100644 --- a/src/tox_ui_utils.cpp +++ b/src/tox_ui_utils.cpp @@ -1,5 +1,7 @@ #include "./tox_ui_utils.hpp" +#include + #include #include