Fix a few wide character build issues

This commit is contained in:
Gregory Nutt
2016-10-18 19:11:09 -06:00
parent b37c94bc68
commit 890a9eb45d
12 changed files with 45 additions and 22 deletions
+9
View File
@@ -42,8 +42,10 @@
#include <nuttx/config.h>
#include <nuttx/compiler.h>
#include <sys/types.h>
#include <stdint.h>
#include <wchar.h>
/****************************************************************************
* Pre-processor Definitions
@@ -202,6 +204,13 @@ double_t strtod(FAR const char *str, FAR char **endptr);
FAR char *itoa(int val, FAR char *str, int base);
/* Wide character operations */
#ifdef CONFIG_LIBC_WCHAR
int mbtowc(FAR wchar_t *pwc, FAR const char *s, size_t n);
int wctomb(FAR char *s, wchar_t wchar);
#endif
/* Memory Management */
FAR void *malloc(size_t);