compile fixes for toxcore and gcc12

This commit is contained in:
Green Sky 2023-10-15 16:34:07 +02:00
parent c89bba25a3
commit 9b07cb4dce
No known key found for this signature in database
3 changed files with 4 additions and 1 deletions

@ -1 +1 @@
Subproject commit 2a6dca69c79b95cd2593374bbdc1eccbeec24faa
Subproject commit 08a083f346bbd06cebe4ba619b5130340a5d4c14

View File

@ -91,6 +91,8 @@ add_library(toxcore STATIC
${TOX_DIR}toxcore/logger.h
${TOX_DIR}toxcore/Messenger.c
${TOX_DIR}toxcore/Messenger.h
${TOX_DIR}toxcore/mem.c
${TOX_DIR}toxcore/mem.h
${TOX_DIR}toxcore/mono_time.c
${TOX_DIR}toxcore/mono_time.h
${TOX_DIR}toxcore/net_crypto.c

View File

@ -1,6 +1,7 @@
#pragma once
#include <cstdint>
#include <cstddef>
#include <vector>
// returns the 20bytes sha1 hash