Appply patch-daemon_loader.c from FreeBSD

This commit is contained in:
Yuri Victorovich 2024-03-26 20:11:19 +02:00 committed by Nedko Arnaudov
parent 6570c7b6f1
commit c8ecee23da
1 changed files with 9 additions and 1 deletions

View File

@ -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"