void-packages/srcpkgs/radvd/patches/strlcpy.patch
2025-01-02 18:09:19 +01:00

14 lines
280 B
Diff

strlcpy is in glibc and musl nowadays.
--- a/includes.h
+++ b/includes.h
@@ -26,9 +26,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#ifndef __FreeBSD__
-#include <bsd/string.h> // strlcpy
-#endif
#include <syslog.h>
#include <time.h>
#include <unistd.h>