diff --git a/libs/pika/coroutines/src/thread_enums.cpp b/libs/pika/coroutines/src/thread_enums.cpp index 099ef5ef3..6d488367f 100644 --- a/libs/pika/coroutines/src/thread_enums.cpp +++ b/libs/pika/coroutines/src/thread_enums.cpp @@ -12,6 +12,7 @@ #include #include +#include namespace pika::threads::detail { namespace strings { diff --git a/libs/pika/threading_base/src/reset_backtrace.cpp b/libs/pika/threading_base/src/reset_backtrace.cpp index 6ef545ce7..7c079855c 100644 --- a/libs/pika/threading_base/src/reset_backtrace.cpp +++ b/libs/pika/threading_base/src/reset_backtrace.cpp @@ -4,8 +4,6 @@ // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) -#pragma once - #include #ifdef PIKA_HAVE_THREAD_BACKTRACE_ON_SUSPENSION diff --git a/libs/pika/threading_base/src/reset_lco_description.cpp b/libs/pika/threading_base/src/reset_lco_description.cpp index 6d05d9818..7d6aba3b7 100644 --- a/libs/pika/threading_base/src/reset_lco_description.cpp +++ b/libs/pika/threading_base/src/reset_lco_description.cpp @@ -4,8 +4,6 @@ // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) -#pragma once - #include #if defined(PIKA_HAVE_THREAD_DESCRIPTION)