slackbuilds_ponce/development/bmake/compilefix.diff

14 lines
371 B
Diff

diff -Naur bmake/make.h bmake.patched/make.h
--- bmake/make.h 2016-12-09 18:01:56.000000000 -0500
+++ bmake.patched/make.h 2017-02-14 14:43:00.590199142 -0500
@@ -99,6 +99,10 @@
#include <unistd.h>
#include <sys/cdefs.h>
+#ifndef HAVE_STRLCPY
+extern size_t strlcpy(char *dst, const char *src, size_t siz);
+#endif
+
#ifndef FD_CLOEXEC
#define FD_CLOEXEC 1
#endif