summaryrefslogtreecommitdiff
path: root/net-im/telegram-desktop/files/tdesktop-4.6.2-fix-gcc12-optional.patch
blob: 7e471e143ec0e0372f8cf8ba7aae9ef285b4c28d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Fix missing header with gcc 12

Upstream:
https://github.com/telegramdesktop/tdesktop/commit/a8decf154f5aceeff0b977c0a5845e42404286b3

--- tdesktop-4.6.2-full.orig/Telegram/SourceFiles/payments/stripe/stripe_card_validator.h
+++ tdesktop-4.6.2-full/Telegram/SourceFiles/payments/stripe/stripe_card_validator.h
@@ -9,6 +9,7 @@
 
 #include "stripe/stripe_card.h"
 #include <vector>
+#include <optional>
 
 class QDate;