components/lwip: use newlib errno

This commit is contained in:
Wu Jian Gang 2016-08-29 15:35:44 +08:00
parent bae976ae0e
commit 23cc3c0f90

View file

@ -35,6 +35,7 @@
#define __ARCH_CC_H__
#include <stdint.h>
#include <errno.h>
#include "arch/sys_arch.h"
@ -72,6 +73,4 @@ typedef int sys_prot_t;
#define LWIP_NOASSERT
//#define LWIP_ERROR
#define LWIP_PROVIDE_ERRNO
#endif /* __ARCH_CC_H__ */