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 <cstdlib>.
* RAJAStream.cpp: Likewise.
This commit is contained in:
Tobias Burnus 2021-04-19 18:55:35 +02:00
parent 2eca3974e6
commit 75a4394830
2 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,7 @@
// For full license terms please see the LICENSE file distributed with this // For full license terms please see the LICENSE file distributed with this
// source code // source code
#include <cstdlib> // For aligned_alloc
#include "OMPStream.h" #include "OMPStream.h"
#ifndef ALIGNMENT #ifndef ALIGNMENT

View File

@ -5,6 +5,7 @@
// For full license terms please see the LICENSE file distributed with this // For full license terms please see the LICENSE file distributed with this
// source code // source code
#include <cstdlib> // For aligned_alloc
#include <stdexcept> #include <stdexcept>
#include "RAJAStream.hpp" #include "RAJAStream.hpp"