diff options
author | ben-kuhn <ben.kuhn@gmail.com> | 2016-04-22 09:04:42 -0500 |
---|---|---|
committer | ben-kuhn <ben.kuhn@gmail.com> | 2016-04-22 09:04:42 -0500 |
commit | 5dac978f644a502151dc66160a71e46cb9dddde9 (patch) | |
tree | d7ce7e59af5e6041126b141cc60d20f2e6140a76 | |
parent | dce643fc4f91a27583fb7e60ab52f5dcad3411d2 (diff) | |
download | openvpn-duo-plugin-5dac978f644a502151dc66160a71e46cb9dddde9.tar.gz openvpn-duo-plugin-5dac978f644a502151dc66160a71e46cb9dddde9.zip |
Added sys/wait.h to prevent the plugin from crashing OpenVPN on FreeBSD with Undefined symbol WIFEXITED
-rw-r--r-- | duo_openvpn.c | 1 |
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> |