diff options
author | Rob Landley <rob@landley.net> | 2007-08-15 12:50:44 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2007-08-15 12:50:44 -0500 |
commit | 9303e2fc38944c235c84483f6301cf4d09901b8f (patch) | |
tree | 01adda11173328f4390862f5d6cd01432e373bbc | |
parent | f3c56e719e2e000aaf750230f18aea3b01af9ce7 (diff) | |
download | toybox-9303e2fc38944c235c84483f6301cf4d09901b8f.tar.gz |
More klibc fixes from Maximilian Attems, strlcpy() this time.
-rw-r--r-- | lib/lib.c | 2 | ||||
-rw-r--r-- | lib/lib.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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. @@ -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 |