summaryrefslogtreecommitdiff
path: root/dev-cpp/sdbus-c++/files/sdbus-c++-1.4.0-gcc-14.patch
blob: 2b2671e3ea124e0f7a6058285cdc7700622546a5 (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
From 066785da67f0d7e2fa5f45c0fb25c333679be061 Mon Sep 17 00:00:00 2001
From: Alfred Wingate <parona@protonmail.com>
Date: Thu, 16 Nov 2023 18:52:48 +0200
Subject: [PATCH] fix: Add header for gcc-14 that isn't included by default
 anymore

* https://gcc.gnu.org/gcc-14/porting_to.html

Signed-off-by: Alfred Wingate <parona@protonmail.com>
---
 include/sdbus-c++/Message.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/sdbus-c++/Message.h b/include/sdbus-c++/Message.h
index 915a071b..9c85c019 100644
--- a/include/sdbus-c++/Message.h
+++ b/include/sdbus-c++/Message.h
@@ -42,6 +42,7 @@
 #include <cassert>
 #include <functional>
 #include <sys/types.h>
+#include <algorithm>
 
 // Forward declarations
 namespace sdbus {