EFAULT not defined in ecos but used in sockets.c

This commit is contained in:
jani 2003-09-15 09:07:49 +00:00
parent 97bece84c1
commit 53ffbd1ff3

View File

@ -36,6 +36,10 @@
#include <string.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>
#if (CYG_BYTEORDER == CYG_LSBFIRST)
#define BYTE_ORDER LITTLE_ENDIAN