Skip to content

Commit

Permalink
Appply patch-daemon_loader.c from FreeBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
yurivict authored and nedko committed Mar 26, 2024
1 parent 6570c7b commit c8ecee2
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion daemon/loader.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit c8ecee2

Please sign in to comment.