From: oharboe Date: Fri, 5 Jun 2009 06:43:09 +0000 (+0000) Subject: remove hacks no longer required to build OpenOCD w/eCos X-Git-Tag: v0.2.0~437 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=aee65603eed39e761258813e33e612e65e1ad751;p=openocd remove hacks no longer required to build OpenOCD w/eCos git-svn-id: svn://svn.berlios.de/openocd/trunk@2074 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- diff --git a/src/helper/system.h b/src/helper/system.h index 07b0cb9f..169df1cb 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