libcxxabi/0001-PATCH-libcxxabi-Include-refstring.h-from-system-incl.patch
2021-08-09 18:31:50 +00:00

27 lines
802 B
Diff

From 2586ab946f1e22891345c86e7f673bb11989e427 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar@redhat.com>
Date: Wed, 17 Feb 2021 12:50:08 -0800
Subject: [PATCH 1/2] Include refstring.h from system includedir
---
libcxxabi/src/stdlib_stdexcept.cpp | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/libcxxabi/src/stdlib_stdexcept.cpp b/libcxxabi/src/stdlib_stdexcept.cpp
index 0ca378dcde01..d2daf40173c0 100644
--- a/libcxxabi/src/stdlib_stdexcept.cpp
+++ b/libcxxabi/src/stdlib_stdexcept.cpp
@@ -13,8 +13,7 @@
#include <cstdint>
#include <cstddef>
-// This includes an implementation file from libc++.
-#include "src/include/refstring.h"
+#include <libcxx-internal/refstring.h>
static_assert(sizeof(std::__libcpp_refstring) == sizeof(const char *), "");
--
2.27.0