qca: fix build (#9953)

no rev-bump because an update is pending anyway with #9941
This commit is contained in:
Joachim Mairböck
2024-01-06 17:03:34 +01:00
committed by GitHub
parent 2e50df1282
commit 5656b043e5

View File

@@ -1,4 +1,4 @@
From 3f8cc3ecc938ebdeea8eee181864db930fd0cf9e Mon Sep 17 00:00:00 2001
From 2b7dc2829d4e9fa181032bdc16ba38b2487c09d0 Mon Sep 17 00:00:00 2001
From: Sergei Reznikov <diver@gelios.net>
Date: Tue, 13 Oct 2015 12:07:31 +0300
Subject: QCA2: fix compilation on Haiku/GCC4.
@@ -60,5 +60,28 @@ index ee94998..f352dda 100644
# else
# include <sys/termios.h>
--
2.21.0
2.42.1
From aa4efeb86d5dc71e69a9d609c4274933929c7a8b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Joachim=20Mairb=C3=B6ck?= <j.mairboeck@gmail.com>
Date: Sat, 6 Jan 2024 14:50:37 +0100
Subject: add missing #include <memory> for shared_ptr
diff --git a/src/qca_default.cpp b/src/qca_default.cpp
index 0499bbc..d63977f 100644
--- a/src/qca_default.cpp
+++ b/src/qca_default.cpp
@@ -30,6 +30,8 @@
# include "qca_systemstore.h"
#endif
+#include <memory>
+
#define FRIENDLY_NAMES
namespace QCA {
--
2.42.1