summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/stdafx.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-12-15 13:50:13 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-12-15 13:50:13 +0300
commitd2c72c9bf3492fd40960c2f0935c9c675795d28a (patch)
tree63606145ac9b05bf564a4e402779f3ee91187499 /protocols/Steam/src/stdafx.h
parent61dfaa92b8f3af3a3c7a63616395d61a8c7dae62 (diff)
fix for a memory corruption inside protobuf printer
Diffstat (limited to 'protocols/Steam/src/stdafx.h')
-rw-r--r--protocols/Steam/src/stdafx.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/protocols/Steam/src/stdafx.h b/protocols/Steam/src/stdafx.h
index 11cdbe7e49..d14388ef70 100644
--- a/protocols/Steam/src/stdafx.h
+++ b/protocols/Steam/src/stdafx.h
@@ -44,11 +44,6 @@
#include "protobuf-c/steammessages_friendmessages.steamclient.pb-c.h"
#include "proto.h"
-extern "C"
-{
- #include "protobuf-c/protobuf-c-text.h"
-}
-
#define MODULE "Steam"
#define DB_KEY_LASTMSGTS "LastMessageTS"
@@ -73,6 +68,7 @@ extern HANDLE hExtraXStatus;
#define now() time(0)
int64_t getRandomInt();
+CMStringA protobuf_c_text_to_string(const ProtobufCMessage &msg);
#include "steam_dialogs.h"