summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-vpn/pptpd/files/pptpd-1.4.0-c99.patch')
-rw-r--r--net-vpn/pptpd/files/pptpd-1.4.0-c99.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/net-vpn/pptpd/files/pptpd-1.4.0-c99.patch b/net-vpn/pptpd/files/pptpd-1.4.0-c99.patch
new file mode 100644
index 000000000000..902a275d5f35
--- /dev/null
+++ b/net-vpn/pptpd/files/pptpd-1.4.0-c99.patch
@@ -0,0 +1,16 @@
+https://bugs.gentoo.org/920775
+https://bugs.gentoo.org/927333
+
+--- a/compat.c
++++ b/compat.c
+@@ -10,9 +10,9 @@
+
+ #include "compat.h"
+ #include "our_syslog.h"
++#include <string.h>
+
+ #ifndef HAVE_STRLCPY
+-#include <string.h>
+ #include <stdio.h>
+
+ void strlcpy(char *dst, const char *src, size_t size)