From aee65603eed39e761258813e33e612e65e1ad751 Mon Sep 17 00:00:00 2001 From: oharboe Date: Fri, 5 Jun 2009 06:43:09 +0000 Subject: [PATCH] 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 --- src/helper/system.h | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- 2.39.5