summaryrefslogtreecommitdiff
path: root/net-vpn/openvpn/files/openvpn-2.5.0-auth-pam-missing-header.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-vpn/openvpn/files/openvpn-2.5.0-auth-pam-missing-header.patch')
-rw-r--r--net-vpn/openvpn/files/openvpn-2.5.0-auth-pam-missing-header.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/net-vpn/openvpn/files/openvpn-2.5.0-auth-pam-missing-header.patch b/net-vpn/openvpn/files/openvpn-2.5.0-auth-pam-missing-header.patch
new file mode 100644
index 000000000000..2e48bd6b3870
--- /dev/null
+++ b/net-vpn/openvpn/files/openvpn-2.5.0-auth-pam-missing-header.patch
@@ -0,0 +1,12 @@
+diff --git a/src/plugins/auth-pam/auth-pam.c b/src/plugins/auth-pam/auth-pam.c
+index f537652e..29306310 100644
+--- a/src/plugins/auth-pam/auth-pam.c
++++ b/src/plugins/auth-pam/auth-pam.c
+@@ -47,6 +47,7 @@
+ #include <fcntl.h>
+ #include <signal.h>
+ #include <syslog.h>
++#include <limits.h>
+ #include "utils.h"
+
+ #include <openvpn-plugin.h>