Resolves: https://issues.redhat.com/browse/RHEL-121612 Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
35 lines
1.1 KiB
Diff
35 lines
1.1 KiB
Diff
From f257662821800cfe5cdb38639a35361aac0802a3 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
|
|
Date: Mon, 24 Jun 2024 17:36:13 +0100
|
|
Subject: [PATCH 06/15] Fix compat with gcc 14
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
With refactoring of libstdc++, the <algorithm> header is no
|
|
longer pulled in indirectly, so must be explicitly requested.
|
|
|
|
The C++ standard for aesm must also be bumped to 14 to ensure
|
|
that std::enable_if_t is available.
|
|
|
|
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
|
|
---
|
|
psw/enclave_common/sgx_enclave_common.cpp | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/psw/enclave_common/sgx_enclave_common.cpp b/psw/enclave_common/sgx_enclave_common.cpp
|
|
index 9a335c81..399d63b2 100644
|
|
--- a/psw/enclave_common/sgx_enclave_common.cpp
|
|
+++ b/psw/enclave_common/sgx_enclave_common.cpp
|
|
@@ -35,6 +35,7 @@
|
|
#include <dlfcn.h>
|
|
#include <map>
|
|
#include <functional>
|
|
+#include <algorithm>
|
|
#include "sgx_enclave_common.h"
|
|
#include "sgx_urts.h"
|
|
#include "arch.h"
|
|
--
|
|
2.49.0
|
|
|