From 6611cf5ecac524426912ea30271ec7a4b318e9e6 Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Fri, 31 Jan 2025 03:20:10 -0500 Subject: [PATCH] [flang] Fix building on aarch64 *BSD and musl libc after 9d8dc45d17088300e9e2086594ca581b119193c8 --- flang/runtime/exceptions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flang/runtime/exceptions.cpp b/flang/runtime/exceptions.cpp index 257c71b51edb3..344e7216cfaae 100644 --- a/flang/runtime/exceptions.cpp +++ b/flang/runtime/exceptions.cpp @@ -11,7 +11,7 @@ #include "flang/Runtime/exceptions.h" #include "terminator.h" #include -#if defined(__aarch64__) && !defined(_WIN32) +#if defined(__aarch64__) && defined(__GLIBC__) #include #elif defined(__x86_64__) && !defined(_WIN32) #include