diff --git a/src/pal/pal_haiku.h b/src/pal/pal_haiku.h index 0fcb8a8..52bb7ef 100644 --- a/src/pal/pal_haiku.h +++ b/src/pal/pal_haiku.h @@ -1,6 +1,18 @@ #pragma once #if defined(__HAIKU__) +# include + +namespace snmalloc +{ + template + int getentropy(Args...) + { + assert(0 && "Unreachable path"); + return -1; + } +} + # include "pal_posix.h" # include