diff options
author | Ulf Samuelsson <ulf.samuelsson@atmel.com> | 2007-08-13 20:07:31 +0000 |
---|---|---|
committer | Ulf Samuelsson <ulf.samuelsson@atmel.com> | 2007-08-13 20:07:31 +0000 |
commit | 7a87c0dacbd26b3bb69b6e99abb4a03ee2408f0c (patch) | |
tree | d4282541730c56247cb27a71ea748ffed6229a6c | |
parent | 5081b4312072474fb08a9dc4b6017c11109f7351 (diff) |
Allow use of uclibc string routines in TinyX
-rw-r--r-- | package/tinyx/tinyx-011010-strings.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/package/tinyx/tinyx-011010-strings.patch b/package/tinyx/tinyx-011010-strings.patch new file mode 100644 index 000000000..263116f8f --- /dev/null +++ b/package/tinyx/tinyx-011010-strings.patch @@ -0,0 +1,13 @@ +diff -urN xc-011010-0rig/include/Xfuncs.h xc-011010/include/Xfuncs.h +--- xc-011010-0rig/include/Xfuncs.h 2001-07-25 17:04:42.000000000 +0200 ++++ xc-011010/include/Xfuncs.h 2007-08-13 13:08:39.000000000 +0200 +@@ -45,6 +45,9 @@ + #include <strings.h> + /* bcopy, bcmp, bzero declared */ + #define _XFUNCS_H_INCLUDED_STRING_H ++#elif defined(__UCLIBC__) ++#include <string.h> ++#define _XFUNCS_H_INCLUDED_STRING_H + #else + #include <string.h> + #define _XFUNCS_H_INCLUDED_STRING_H |