From 999b1bf7760bb235695c9e3601898faf3dbe92b5 Mon Sep 17 00:00:00 2001 From: rdentato Date: Sun, 6 Aug 2023 21:07:09 +0000 Subject: [PATCH] Added conditinal include of the OpenMP header. --- run.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/run.c b/run.c index 02cc877..4ff9e5d 100644 --- a/run.c +++ b/run.c @@ -20,6 +20,11 @@ $ ./run #include #include #endif + +#ifdef _OPENMP +#include +#endif + // ---------------------------------------------------------------------------- // Transformer and RunState structs, and related memory management