From 75a4394830d209614c3026ed4b20efd2bf6baffa Mon Sep 17 00:00:00 2001 From: Tobias Burnus Date: Mon, 19 Apr 2021 18:55:35 +0200 Subject: [PATCH] Include stdlib.h for aligned_alloc Silence "error: there are no arguments to 'aligned_alloc' that depend on a template parameter, so a declaration of 'aligned_alloc' must be available" * OMPStream.cpp: #include . * RAJAStream.cpp: Likewise. --- OMPStream.cpp | 1 + RAJAStream.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/OMPStream.cpp b/OMPStream.cpp index 8063987..0cd8035 100644 --- a/OMPStream.cpp +++ b/OMPStream.cpp @@ -5,6 +5,7 @@ // For full license terms please see the LICENSE file distributed with this // source code +#include // For aligned_alloc #include "OMPStream.h" #ifndef ALIGNMENT diff --git a/RAJAStream.cpp b/RAJAStream.cpp index 44db5ed..d271ea4 100644 --- a/RAJAStream.cpp +++ b/RAJAStream.cpp @@ -5,6 +5,7 @@ // For full license terms please see the LICENSE file distributed with this // source code +#include // For aligned_alloc #include #include "RAJAStream.hpp"