summarylogtreecommitdiffstats
path: root/lib_base-gcc11-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'lib_base-gcc11-fix.patch')
-rw-r--r--lib_base-gcc11-fix.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib_base-gcc11-fix.patch b/lib_base-gcc11-fix.patch
new file mode 100644
index 000000000000..2405329b0e29
--- /dev/null
+++ b/lib_base-gcc11-fix.patch
@@ -0,0 +1,12 @@
+diff --git a/base/platform/linux/base_linux_gtk_integration.h b/base/platform/linux/base_linux_gtk_integration.h
+index be19ce0..6622d3e 100644
+--- a/base/platform/linux/base_linux_gtk_integration.h
++++ b/base/platform/linux/base_linux_gtk_integration.h
+@@ -10,6 +10,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
+ #include "base/const_string.h"
+
+ #include <QtCore/QLibrary>
++#include <optional>
+
+ namespace base {
+ namespace Platform {