diff options
| author | bernard.xiong <[email protected]> | 2010-04-27 04:09:54 +0000 |
|---|---|---|
| committer | bernard.xiong <[email protected]> | 2010-04-27 04:09:54 +0000 |
| commit | 61e66e376b5823c982e49bf0708d6545eb2908fd (patch) | |
| tree | 21136c884e6c6c6a6ac121109fbf3d732f14660a /components/net | |
| parent | 2c0f89d99ab0236fdaf58ac68874712befab0e00 (diff) | |
add un-defined errno in newlib.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@673 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/net')
| -rw-r--r-- | components/net/lwip/src/arch/include/arch/cc.h | 2 |
1 files changed, 2 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 75ac1b176d..82704f644a 100644 --- a/components/net/lwip/src/arch/include/arch/cc.h +++ b/components/net/lwip/src/arch/include/arch/cc.h @@ -55,6 +55,8 @@ typedef rt_uint32_t mem_ptr_t; #ifdef RT_USING_NEWLIB #include <errno.h> +/* some errno not defined in newlib */ +#define ENSRNOTFOUND 163 /* Domain name not found */ #else #define LWIP_PROVIDE_ERRNO #endif |
