diff options
| author | Bernard Xiong <[email protected]> | 2018-09-30 09:41:43 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2018-09-30 09:41:43 +0800 |
| commit | fcb62b80dafbc1fd58b1de48a29231a7204690b3 (patch) | |
| tree | 8188fb61a41c3949e12d848a069545958bae037e /components/libc/compilers | |
| parent | 1f472cd1e110462e85166b2681a346b549bb0fba (diff) | |
[libc] Add _EXFUN judgement
Diffstat (limited to 'components/libc/compilers')
| -rw-r--r-- | components/libc/compilers/newlib/libc.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/components/libc/compilers/newlib/libc.h b/components/libc/compilers/newlib/libc.h index d077de9656..e0a9f053a0 100644 --- a/components/libc/compilers/newlib/libc.h +++ b/components/libc/compilers/newlib/libc.h @@ -26,8 +26,15 @@ #ifndef __RTT_LIBC_H__ #define __RTT_LIBC_H__ +#include <stdio.h> +#include <stdint.h> +#include <string.h> #include <sys/time.h> +#ifndef _EXFUN +#define _EXFUN(name, proto) name proto +#endif + #define MILLISECOND_PER_SECOND 1000UL #define MICROSECOND_PER_SECOND 1000000UL #define NANOSECOND_PER_SECOND 1000000000UL |
