diff options
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.patch | 16 |
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..fd14963b50e2 --- /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 +https://sourceforge.net/p/poptop/bugs/54/ +--- 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) |