mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-20 02:30:05 +02:00
46 lines
1.4 KiB
Plaintext
46 lines
1.4 KiB
Plaintext
From 66e947567b3d614bec48f35d5d8320f5cac6eec1 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.16.4
|
|
|
|
|
|
From 1b5334a37e35b13410647dc825a821ba4e07e678 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Zolt=C3=A1n=20Mizsei?= <zmizsei@extrowerk.com>
|
|
Date: Sun, 26 Aug 2018 09:28:36 +0200
|
|
Subject: Haiku doesn't have stropts.h
|
|
|
|
|
|
diff --git a/libr/io/p/io_gprobe.c b/libr/io/p/io_gprobe.c
|
|
index 2616c8e..018e1e5 100644
|
|
--- a/libr/io/p/io_gprobe.c
|
|
+++ b/libr/io/p/io_gprobe.c
|
|
@@ -23,7 +23,7 @@
|
|
#include <tchar.h>
|
|
#include <windows.h>
|
|
#else
|
|
-#if !__linux__ && !__APPLE__ && !__OpenBSD__ && !__FreeBSD__
|
|
+#if !__linux__ && !__APPLE__ && !__OpenBSD__ && !__FreeBSD__ && !__HAIKU__
|
|
#include <stropts.h>
|
|
#endif
|
|
#include <termios.h>
|
|
--
|
|
2.16.4
|
|
|