summaryrefslogtreecommitdiff
path: root/components/dfs
diff options
context:
space:
mode:
authorqiuyiuestc <[email protected]>2010-05-29 14:16:48 +0000
committerqiuyiuestc <[email protected]>2010-05-29 14:16:48 +0000
commit1fb4d848370a33e176b2a3bf7fb532e7ed8e7823 (patch)
tree98d1fe308ce544e374c078157d820d26f42e6143 /components/dfs
parent4314d9f0967eb67b64871aad2895d7c70fc7e8ea (diff)
fix compile error using gcc compiler
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@741 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/dfs')
-rw-r--r--components/dfs/filesystems/nfs/rpc/types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/dfs/filesystems/nfs/rpc/types.h b/components/dfs/filesystems/nfs/rpc/types.h
index fea5274fdb..29f16cccb3 100644
--- a/components/dfs/filesystems/nfs/rpc/types.h
+++ b/components/dfs/filesystems/nfs/rpc/types.h
@@ -38,9 +38,12 @@
#include <lwip/sockets.h>
#include <string.h>
+
+#ifndef RT_USING_MINILIBC
typedef unsigned int u_int;
typedef unsigned char u_char;
typedef unsigned long u_long;
+#endif
typedef rt_int8_t int8_t;
typedef rt_uint8_t uint8_t;