浏览代码

[DFS] Fix the compiling issue in NFS.

Bernard Xiong 9 年之前
父节点
当前提交
3e310522e0
共有 1 个文件被更改,包括 1 次插入7 次删除
  1. 1 7
      components/dfs/filesystems/nfs/rpc/types.h

+ 1 - 7
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>