gentoo-ebuilds/net-vpn/pptpd/files/pptpd-1.4.0-c99.patch
Sam James f2427cc130
net-vpn/pptpd: add upstream ref to patch
Signed-off-by: Sam James <sam@gentoo.org>
2024-04-27 03:12:01 +01:00

16 lines
343 B
Diff

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)