From 8706db23b30229f093f53b5f9beb058ab3265e0e Mon Sep 17 00:00:00 2001 From: Username404 Date: Wed, 16 Aug 2023 19:12:57 +0200 Subject: [PATCH] Yerbacon.hpp: Make sure the OpenMP headers are included when they are present Signed-off-by: Username404 --- src/headers/Yerbacon.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/headers/Yerbacon.hpp b/src/headers/Yerbacon.hpp index 38139a2..38cd1d6 100644 --- a/src/headers/Yerbacon.hpp +++ b/src/headers/Yerbacon.hpp @@ -23,6 +23,10 @@ #error "The current standard library is incomplete" #endif +#ifdef _OPENMP +#include +#endif + #define token_expansion(X) #X #define make_string(X) token_expansion(X)