forked from pool/pptpd
8c436bfe91
- remove ifconditions for systemd, all maintained distros
have it by now
- add bcrelay-iflog-size-limit.patch, gcc-14-fix.patch,
ppp-2.5.0.patch to fix build in TW
- Update pptpd-stringcompare.patch
- Changed file names README.SUSE and LIESMICH.SUSE, because it is
the right SUSE spelling (bnc#889011).
- Add native systemd units
- fix build
- add missing calls to restart_on_update and stop_on_removal macros
- avoid string compare with char literal
- fix logwtmp plugin version. Use ppp devel files in the
PPTP Client anonymously
OBS-URL: https://build.opensuse.org/package/show/network/pptpd?expand=0&rev=19
16 lines
302 B
Diff
16 lines
302 B
Diff
diff --git a/compat.c b/compat.c
|
|
index 8a91a66..285220c 100644
|
|
--- 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)
|