diff options
Diffstat (limited to 'lib/libc/string/stpncpy.c')
-rw-r--r-- | lib/libc/string/stpncpy.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/string/stpncpy.c b/lib/libc/string/stpncpy.c index 46e61c468d99..d3a1dddb4a65 100644 --- a/lib/libc/string/stpncpy.c +++ b/lib/libc/string/stpncpy.c @@ -26,9 +26,10 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> #include <string.h> +#undef stpncpy /* _FORTIFY_SOURCE */ + char * stpncpy(char * __restrict dst, const char * __restrict src, size_t n) { |