diff --git a/src/helper/system.h b/src/helper/system.h index 07b0cb9f2..169df1cb4 100644 --- a/src/helper/system.h +++ b/src/helper/system.h @@ -59,6 +59,14 @@ #ifdef HAVE_SYS_POLL_H #include #endif + +#ifdef __ECOS +/* missing from eCos */ +#ifndef EFAULT +#define EFAULT 14 /* Bad address */ +#endif +#endif + #ifdef HAVE_NETINET_IN_H #include #endif