Skip to content

Commit

Permalink
Fix synthexec build on NetBSD
Browse files Browse the repository at this point in the history
The procctl functions were guarded, but not the inclusion of the header
itself which doesn't exist outside of D/F.
  • Loading branch information
jrmarino committed Dec 1, 2016
1 parent 407d6df commit 629ffcf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions synthexec/synthexec.c
Expand Up @@ -14,7 +14,9 @@
#include <fcntl.h>
#include <errno.h>
#include <sys/wait.h>
#if defined __DragonFly__ || defined __FreeBSD__
#include <sys/procctl.h>
#endif

/*
* reap_process kills per given pid and waits for it to return
Expand Down

0 comments on commit 629ffcf

Please sign in to comment.