diff --git a/src/meshable_arena.h b/src/meshable_arena.h index b4a340d..d7c4936 100644 --- a/src/meshable_arena.h +++ b/src/meshable_arena.h @@ -26,6 +26,11 @@ #include #endif +#if defined(__FreeBSD__) +#define MADV_DONTDUMP MADV_NOCORE +#define MADV_DUMP MADV_CORE +#endif + #include #include "internal.h"