You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-im/telegram-desktop/files/fix-tgcalls-gcc10.patch

35 lines
949 B

From eded7cc540123eaf26361958b9a61c65cb2f7cfc Mon Sep 17 00:00:00 2001
From: John Preston <johnprestonmail@gmail.com>
Date: Mon, 22 Mar 2021 19:24:10 +0400
Subject: [PATCH] Fix build on GCC 10, second attempt.
---
tgcalls/group/StreamingPart.cpp | 1 -
tgcalls/group/StreamingPart.h | 1 +
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/tgcalls/group/StreamingPart.cpp b/tgcalls/group/StreamingPart.cpp
index a7f2e00..6b0206f 100644
--- a/tgcalls/group/StreamingPart.cpp
+++ b/tgcalls/group/StreamingPart.cpp
@@ -12,7 +12,6 @@ extern "C" {
#include <string>
#include <set>
#include <map>
-#include <stdint.h>
namespace tgcalls {
diff --git a/tgcalls/group/StreamingPart.h b/tgcalls/group/StreamingPart.h
index 08859d6..6e0812c 100644
--- a/tgcalls/group/StreamingPart.h
+++ b/tgcalls/group/StreamingPart.h
@@ -3,6 +3,7 @@
#include "absl/types/optional.h"
#include <vector>
+#include <stdint.h>
namespace tgcalls {