summaryrefslogtreecommitdiff
path: root/devel/breakpad/files/patch-src_common_memory.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/breakpad/files/patch-src_common_memory.h')
-rw-r--r--devel/breakpad/files/patch-src_common_memory.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/breakpad/files/patch-src_common_memory.h b/devel/breakpad/files/patch-src_common_memory.h
new file mode 100644
index 000000000000..24b4959a9ddc
--- /dev/null
+++ b/devel/breakpad/files/patch-src_common_memory.h
@@ -0,0 +1,11 @@
+--- src/common/memory.h.orig 2017-07-12 17:53:15 UTC
++++ src/common/memory.h
+@@ -42,7 +42,7 @@
+ #include <sanitizer/msan_interface.h>
+ #endif
+
+-#ifdef __APPLE__
++#if __APPLE__ || __FreeBSD__
+ #define sys_mmap mmap
+ #define sys_munmap munmap
+ #define MAP_ANONYMOUS MAP_ANON