components/lwip: use newlib errno
This commit is contained in:
parent
bae976ae0e
commit
23cc3c0f90
|
@ -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__ */
|
||||
|
|
Loading…
Reference in a new issue