diff options
| author | Bernard Xiong <[email protected]> | 2015-08-03 16:17:27 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2015-08-03 16:17:27 +0800 |
| commit | 3e310522e056c611c887e6ed845c846f67f754df (patch) | |
| tree | 97fa66a450b84060103b3d6ecf907ceab6a6c859 | |
| parent | 2ad2acf5776dc7dbb38422cc6f3557bd21d5f254 (diff) | |
[DFS] Fix the compiling issue in NFS.
| -rw-r--r-- | components/dfs/filesystems/nfs/rpc/types.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/components/dfs/filesystems/nfs/rpc/types.h b/components/dfs/filesystems/nfs/rpc/types.h index 36624ea279..310acf7f77 100644 --- a/components/dfs/filesystems/nfs/rpc/types.h +++ b/components/dfs/filesystems/nfs/rpc/types.h @@ -38,18 +38,12 @@ #include <lwip/sockets.h> #include <string.h> +#include <stdint.h> #ifndef RT_USING_MINILIBC typedef unsigned int u_int; typedef unsigned char u_char; typedef unsigned long u_long; - -typedef rt_int8_t int8_t; -typedef rt_uint8_t uint8_t; -typedef rt_int16_t int16_t; -typedef rt_uint16_t uint16_t; -typedef rt_int32_t int32_t; -typedef rt_uint32_t uint32_t; #else #include <sys/types.h> #include <stdint.h> |
