2017-02-09 10:54:34 +01:00
|
|
|
--- lib/vmalloc/vmhdr.h.orig 2016-12-22 05:44:41 UTC
|
|
|
|
+++ lib/vmalloc/vmhdr.h
|
|
|
|
@@ -20,6 +20,10 @@ extern "C" {
|
2016-11-14 00:53:07 +01:00
|
|
|
#ifndef _BLD_vmalloc
|
|
|
|
#define _BLD_vmalloc 1
|
|
|
|
#endif
|
|
|
|
+#if defined(__FreeBSD__) && defined(__aarch64__)
|
|
|
|
+/* No sbrk on FreeBSD/AArch64 */
|
|
|
|
+#define _std_malloc 1
|
|
|
|
+#endif
|
|
|
|
#ifdef WIN32
|
|
|
|
#include <io.h>
|
|
|
|
#endif
|