From 1fb4d848370a33e176b2a3bf7fb532e7ed8e7823 Mon Sep 17 00:00:00 2001 From: qiuyiuestc Date: Sat, 29 May 2010 14:16:48 +0000 Subject: [PATCH] fix compile error using gcc compiler git-svn-id: https://rt-thread.googlecode.com/svn/trunk@741 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- components/dfs/filesystems/nfs/rpc/types.h | 3 +++ 1 file changed, 3 insertions(+) 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 #include + +#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; -- GitLab