diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2014-07-04 09:04:50 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-07-14 08:01:06 +0200 |
commit | 2e82822d080950d9f2cc2bfadafd31ec9809b871 (patch) | |
tree | 8ebec3665e92e6bb95cd1268f4b85c5083192b03 /lib/misc.c | |
parent | 9b09369a0a118282eff1b953f82de66e220ee22a (diff) | |
download | barebox-2e82822d080950d9f2cc2bfadafd31ec9809b871.tar.gz barebox-2e82822d080950d9f2cc2bfadafd31ec9809b871.tar.xz |
Add beginning wchar support
EFI uses 16 bit character strings. Add beginning support for this.
Since barebox uses 8 bit strings internally we need conversion functions
to convert between 16 bit and 8 bit strings.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'lib/misc.c')
-rw-r--r-- | lib/misc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/misc.c b/lib/misc.c index 9f2067cf36..87626c1e8b 100644 --- a/lib/misc.c +++ b/lib/misc.c @@ -21,6 +21,7 @@ #include <malloc.h> #include <errno.h> #include <fs.h> +#include <string.h> #include <linux/ctype.h> /* |