summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
author[email protected] <[email protected]>2012-12-24 06:39:21 +0000
committer[email protected] <[email protected]>2012-12-24 06:39:21 +0000
commit555ccc5fa9954dec9bb752e6d99631207be14589 (patch)
tree886dadd2a221fecb047df87bc468f1a2490f3ade /components
parentdafb34cf7e845e54aa6bddbedb61bf8390cf4607 (diff)
fixed a compiling error in lm3s9b9x bsp while using gcc
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2517 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components')
-rw-r--r--components/net/lwip/src/arch/include/arch/cc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/net/lwip/src/arch/include/arch/cc.h b/components/net/lwip/src/arch/include/arch/cc.h
index 3bce4fff9b..0633494d1a 100644
--- a/components/net/lwip/src/arch/include/arch/cc.h
+++ b/components/net/lwip/src/arch/include/arch/cc.h
@@ -63,6 +63,7 @@ typedef rt_uint32_t mem_ptr_t;
#define ESHUTDOWN 180
#elif RT_USING_MINILIBC
#include <errno.h>
+#define EADDRNOTAVAIL 99 /* Cannot assign requested address */
#else
#define LWIP_PROVIDE_ERRNO
#endif