Fix includes for the OE Pal.
The Pal should include address.h, this was masked as other Pals included it, but are only included for simulating OE scenarios, rather than the actual build for OE.
This commit is contained in:
committed by
Matthew Parkinson
parent
de0ab1dbe0
commit
2c9ab3096d
@@ -3,6 +3,9 @@
|
||||
#include "pal_consts.h"
|
||||
|
||||
// If simultating OE, then we need the underlying platform
|
||||
#if defined(OPEN_ENCLAVE)
|
||||
# include "pal_open_enclave.h"
|
||||
#endif
|
||||
#if !defined(OPEN_ENCLAVE) || defined(OPEN_ENCLAVE_SIMULATION)
|
||||
# include "pal_apple.h"
|
||||
# include "pal_freebsd.h"
|
||||
@@ -12,9 +15,6 @@
|
||||
# include "pal_openbsd.h"
|
||||
# include "pal_windows.h"
|
||||
#endif
|
||||
#if defined(OPEN_ENCLAVE)
|
||||
# include "pal_open_enclave.h"
|
||||
#endif
|
||||
#include "pal_plain.h"
|
||||
|
||||
namespace snmalloc
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "ds/address.h"
|
||||
#include "pal_plain.h"
|
||||
#ifdef OPEN_ENCLAVE
|
||||
extern "C" const void* __oe_get_heap_base();
|
||||
|
||||
Reference in New Issue
Block a user