mirror of
https://github.com/ep00ch/lwip-contrib-mac.git
synced 2024-07-17 08:28:56 +00:00
EFAULT not defined in ecos but used in sockets.c
This commit is contained in:
parent
97bece84c1
commit
53ffbd1ff3
@ -36,6 +36,10 @@
|
|||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <cyg/error/codes.h>
|
#include <cyg/error/codes.h>
|
||||||
|
//while EFAULT should have no meaning in eCos since there are no address spaces
|
||||||
|
//it is defined here because set/getsockopt in lwIP use it.
|
||||||
|
#define EFAULT 14
|
||||||
|
//#define LWIP_PROVIDE_ERRNO
|
||||||
#include <cyg/infra/cyg_type.h>
|
#include <cyg/infra/cyg_type.h>
|
||||||
#if (CYG_BYTEORDER == CYG_LSBFIRST)
|
#if (CYG_BYTEORDER == CYG_LSBFIRST)
|
||||||
#define BYTE_ORDER LITTLE_ENDIAN
|
#define BYTE_ORDER LITTLE_ENDIAN
|
||||||
|
Loading…
Reference in New Issue
Block a user