1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-07-12 06:49:18 -04:00
ports/audio/ladish/files/patch-daemon_loader.c

22 lines
527 B
C

--- daemon/loader.c.orig 2023-12-18 22:30:22 UTC
+++ daemon/loader.c
@@ -30,10 +30,18 @@
#include <unistd.h>
#include <fcntl.h>
-#include <pty.h> /* forkpty() */
+#if !defined(__FreeBSD__)
+# include <pty.h> /* forkpty() */
+#else
+# include <sys/types.h>
+# include <sys/ioctl.h>
+# include <termios.h>
+# include <libutil.h>
+#endif
#include <sys/wait.h>
#include <sys/time.h>
#include <sys/resource.h>
+#include <signal.h>
#include "loader.h"
#include "../proxies/conf_proxy.h"