diff --git a/core/deps/breakpad/src/common/memory_allocator.h b/core/deps/breakpad/src/common/memory_allocator.h index d28fbfc36..fd797b1f9 100644 --- a/core/deps/breakpad/src/common/memory_allocator.h +++ b/core/deps/breakpad/src/common/memory_allocator.h @@ -42,7 +42,7 @@ #include #endif -#ifdef __APPLE__ +#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) #define sys_mmap mmap #define sys_munmap munmap #define MAP_ANONYMOUS MAP_ANON