mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-11 06:10:06 +02:00
23 lines
832 B
Plaintext
23 lines
832 B
Plaintext
From 525e11115f4d549021fc6f69e85f85ba40cddc29 Mon Sep 17 00:00:00 2001
|
|
From: Jerome Duval <jerome.duval@gmail.com>
|
|
Date: Fri, 10 Nov 2017 19:12:01 +0100
|
|
Subject: Haiku patch
|
|
|
|
|
|
diff --git a/shlr/heap/include/r_jemalloc/internal/jemalloc_internal_decls.h b/shlr/heap/include/r_jemalloc/internal/jemalloc_internal_decls.h
|
|
index c907d91..52dae8b 100644
|
|
--- a/shlr/heap/include/r_jemalloc/internal/jemalloc_internal_decls.h
|
|
+++ b/shlr/heap/include/r_jemalloc/internal/jemalloc_internal_decls.h
|
|
@@ -9,7 +9,7 @@
|
|
#else
|
|
# include <sys/param.h>
|
|
# include <sys/mman.h>
|
|
-# if !defined(__pnacl__) && !defined(__native_client__)
|
|
+# if !defined(__pnacl__) && !defined(__native_client__) && !defined(__HAIKU__)
|
|
# include <sys/syscall.h>
|
|
# if !defined(SYS_write) && defined(__NR_write)
|
|
# define SYS_write __NR_write
|
|
--
|
|
2.14.2
|
|
|