From c8ecee23da9d59a8cb4b197435b4c97396bbf010 Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Tue, 26 Mar 2024 20:11:19 +0200 Subject: [PATCH] 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"