From 9303e2fc38944c235c84483f6301cf4d09901b8f Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Wed, 15 Aug 2007 12:50:44 -0500 Subject: More klibc fixes from Maximilian Attems, strlcpy() this time. --- lib/lib.c | 2 +- lib/lib.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/lib.c b/lib/lib.c index aca70c40..64c85698 100644 --- a/lib/lib.c +++ b/lib/lib.c @@ -11,7 +11,7 @@ #include "toys.h" -#ifndef __UCLIBC__ +#if !defined(__UCLIBC__) && !defined(__KLIBC__) // uClibc has this, and if we define our own it conflicts. diff --git a/lib/lib.h b/lib/lib.h index baa52681..37a94a53 100644 --- a/lib/lib.h +++ b/lib/lib.h @@ -31,7 +31,7 @@ struct dirtree { void get_optflags(void); // functions.c -#ifndef __UCLIBC__ +#if !defined(__UCLIBC__) && !defined(__KLIBC__) void strlcpy(char *dest, char *src, size_t size); #endif -- cgit v1.2.3