From 1b2b50f4c9b61f49ace8a20f095d70b324753b4e Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Tue, 26 Mar 2024 20:09:47 +0200 Subject: [PATCH 1/5] Appply patch-alsapid_alsapid.h from FreeBSD --- alsapid/alsapid.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/alsapid/alsapid.h b/alsapid/alsapid.h index c0acbc72..365121ff 100644 --- a/alsapid/alsapid.h +++ b/alsapid/alsapid.h @@ -29,6 +29,8 @@ #include "../common.h" +#include // for pid_t + void alsapid_compose_src_link(int alsa_client_id, char * buffer); void alsapid_compose_dst_link(char * buffer); bool alsapid_get_pid(int alsa_client_id, pid_t * pid_ptr); From e6a6c7d358a6d8a095d7628ced89dfec337a3b96 Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Tue, 26 Mar 2024 20:10:08 +0200 Subject: [PATCH 2/5] Appply patch-alsapid_helper.c from FreeBSD --- alsapid/helper.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/alsapid/helper.c b/alsapid/helper.c index ab209d9d..861dc787 100644 --- a/alsapid/helper.c +++ b/alsapid/helper.c @@ -33,6 +33,8 @@ #include #include +#include + void alsapid_compose_src_link(int alsa_client_id, char * buffer) { sprintf(buffer, "/tmp/alsapid-%lld-%d", (long long)getuid(), alsa_client_id); From 6570c7b6f19c880b2e5177a243e15b5920bf9885 Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Tue, 26 Mar 2024 20:10:47 +0200 Subject: [PATCH 3/5] Appply patch-daemon_app__supervisor.c from FreeBSD --- daemon/app_supervisor.c | 1 + 1 file changed, 1 insertion(+) diff --git a/daemon/app_supervisor.c b/daemon/app_supervisor.c index 9fcf3d87..ac378f63 100644 --- a/daemon/app_supervisor.c +++ b/daemon/app_supervisor.c @@ -30,6 +30,7 @@ #include #include #include +#include #include "app_supervisor.h" #include "../dbus_constants.h" From c8ecee23da9d59a8cb4b197435b4c97396bbf010 Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Tue, 26 Mar 2024 20:11:19 +0200 Subject: [PATCH 4/5] Appply patch-daemon_loader.c from FreeBSD --- daemon/loader.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/daemon/loader.c b/daemon/loader.c index 9cb1dc05..ba569971 100644 --- a/daemon/loader.c +++ b/daemon/loader.c @@ -30,10 +30,18 @@ #include #include -#include /* forkpty() */ +#if !defined(__FreeBSD__) +# include /* forkpty() */ +#else +# include +# include +# include +# include +#endif #include #include #include +#include #include "loader.h" #include "../proxies/conf_proxy.h" From 9fb169b73657b28e6a118fb10968ffaabe271d1a Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Tue, 26 Mar 2024 20:16:31 +0200 Subject: [PATCH 5/5] Appply patch-proxies_graph__proxy.h from FreeBSD --- proxies/graph_proxy.h | 1 + 1 file changed, 1 insertion(+) diff --git a/proxies/graph_proxy.h b/proxies/graph_proxy.h index 57729cd7..b539b88c 100644 --- a/proxies/graph_proxy.h +++ b/proxies/graph_proxy.h @@ -28,6 +28,7 @@ #define GRAPH_PROXY_H__61D1ED56_E33B_4F50_B45B_F520979E8AA7__INCLUDED #include "common.h" +#include typedef struct graph_proxy_tag { int unused; } * graph_proxy_handle;