Browse Source

fix compile error on MDK 3.5 version.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@176 bbd45198-f89e-11dd-88c7-29a3b14d5316
bernard.xiong 15 years ago
parent
commit
719f923718
1 changed files with 1 additions and 0 deletions
  1. 1 0
      filesystem/dfs/include/dfs_util.h

+ 1 - 0
filesystem/dfs/include/dfs_util.h

@@ -28,6 +28,7 @@ int str_is_prefix(const char* prefix, const char* str);
 #if !defined(RT_USING_MINILIBC) && !defined(RT_USING_NEWLIB)
 #if !defined(RT_USING_MINILIBC) && !defined(RT_USING_NEWLIB)
 char *strrchr(const char *t, int c);
 char *strrchr(const char *t, int c);
 #if defined (__ARMCC_VERSION) && (__ARMCC_VERSION / 10000 < 35)
 #if defined (__ARMCC_VERSION) && (__ARMCC_VERSION / 10000 < 35)
+#include <stddef.h>
 int strncasecmp(const char* s1, const char* s2, size_t len);
 int strncasecmp(const char* s1, const char* s2, size_t len);
 #endif /* end of __ARMCC_VERSION */
 #endif /* end of __ARMCC_VERSION */
 #endif
 #endif