summaryrefslogtreecommitdiff
path: root/net-im/telegram-desktop/files/fix-tgcalls-gcc10.patch
blob: ac7e067f3ab43408a7612b63fbbaf3975283efcd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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 {