mirror of
https://github.com/apache/nuttx.git
synced 2026-05-23 23:28:29 +08:00
Fix a few wide character build issues
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user