summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBradleyHiggins <brad@duosecurity.com>2016-08-23 10:06:02 -0400
committerGitHub <noreply@github.com>2016-08-23 10:06:02 -0400
commit044a0f954e386367cd793f37a998871711aefec9 (patch)
treed7ce7e59af5e6041126b141cc60d20f2e6140a76
parentdce643fc4f91a27583fb7e60ab52f5dcad3411d2 (diff)
parent5dac978f644a502151dc66160a71e46cb9dddde9 (diff)
downloadopenvpn-duo-plugin-044a0f954e386367cd793f37a998871711aefec9.tar.gz
openvpn-duo-plugin-044a0f954e386367cd793f37a998871711aefec9.zip
Merge pull request #13 from ben-kuhn/master
Added sys/wait.h to prevent the plugin from crashing OpenVPN on FreeBSD
-rw-r--r--duo_openvpn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/duo_openvpn.c b/duo_openvpn.c
index f032645..3b2ddb2 100644
--- a/duo_openvpn.c
+++ b/duo_openvpn.c
@@ -1,4 +1,5 @@
#include <sys/stat.h>
+#include <sys/wait.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>