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:
parent
2eca3974e6
commit
75a4394830
@ -5,6 +5,7 @@
|
||||
// For full license terms please see the LICENSE file distributed with this
|
||||
// source code
|
||||
|
||||
#include <cstdlib> // For aligned_alloc
|
||||
#include "OMPStream.h"
|
||||
|
||||
#ifndef ALIGNMENT
|
||||
|
||||
@ -5,6 +5,7 @@
|
||||
// For full license terms please see the LICENSE file distributed with this
|
||||
// source code
|
||||
|
||||
#include <cstdlib> // For aligned_alloc
|
||||
#include <stdexcept>
|
||||
#include "RAJAStream.hpp"
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user