[Openmp-commits] [PATCH] D150687: [OpenMP]Fix trivial build failure in MacOS

Mats Petersson via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed May 17 10:12:54 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG782a16db4db5: [OpenMP]Fix trivial build failure in MacOS (authored by MatsPetersson).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150687/new/

https://reviews.llvm.org/D150687

Files:
  openmp/runtime/src/kmp_collapse.cpp


Index: openmp/runtime/src/kmp_collapse.cpp
===================================================================
--- openmp/runtime/src/kmp_collapse.cpp
+++ openmp/runtime/src/kmp_collapse.cpp
@@ -18,6 +18,8 @@
 #include "kmp_str.h"
 #include "kmp_collapse.h"
 
+#include <cmath>
+
 #if OMPT_SUPPORT
 #include "ompt-specific.h"
 #endif


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150687.523097.patch
Type: text/x-patch
Size: 334 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20230517/3a6939ce/attachment.bin>


More information about the Openmp-commits mailing list