aboutsummaryrefslogtreecommitdiffstats
path: root/community/kbuild/strlcpy.patch
blob: d0b3a0471dc06177ac932e97346b13f68d83e0d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/kmk/kmkbuiltin/cp.c b/src/kmk/kmkbuiltin/cp.c
index 44b76ab..85fec01 100644
--- a/src/kmk/kmkbuiltin/cp.c
+++ b/src/kmk/kmkbuiltin/cp.c
@@ -81,7 +81,7 @@ __FBSDID("$FreeBSD: src/bin/cp/cp.c,v 1.50 2004/04/06 20:06:44 markm Exp $");
 #include "kmkbuiltin.h"
 #include "kbuild_protection.h"
 
-#if defined(_MSC_VER) || defined(__gnu_linux__) || defined(__linux__)
+#if defined(_MSC_VER) || defined(__gnu_linux__) && !defined(__UCLIBC__)
 extern char *strlcpy(char *, const char *, size_t);
 #endif