summaryrefslogtreecommitdiff
path: root/development/bmake/compilefix.diff
blob: e2b91821b127eca971b5573dc572242c5b6ecd62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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