diff --git a/include/reactor-cpp/assert.hh b/include/reactor-cpp/assert.hh index 827aba47..c67154ca 100644 --- a/include/reactor-cpp/assert.hh +++ b/include/reactor-cpp/assert.hh @@ -28,6 +28,11 @@ constexpr bool runtime_assertion = true; #include #include +#ifdef __linux__ +#include +#include +#endif + namespace reactor { using EnvPhase = Environment::Phase; @@ -41,8 +46,6 @@ public: }; #ifdef __linux__ -#include -#include inline void print_debug_backtrace() { void* array[10]; // NOLINT