diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-05 06:43:09 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-05 06:43:09 +0000 |
commit | aee65603eed39e761258813e33e612e65e1ad751 (patch) | |
tree | a558bebf447b3ad94b3ed01b457424a01a0f32f7 /src | |
parent | af838b03a00690e528fb1c11d92ab25529fd876f (diff) | |
download | openocd+libswd-aee65603eed39e761258813e33e612e65e1ad751.tar.gz openocd+libswd-aee65603eed39e761258813e33e612e65e1ad751.tar.bz2 openocd+libswd-aee65603eed39e761258813e33e612e65e1ad751.tar.xz openocd+libswd-aee65603eed39e761258813e33e612e65e1ad751.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/helper/system.h | 8 |
1 files changed, 8 insertions, 0 deletions
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 <sys/poll.h> #endif + +#ifdef __ECOS +/* missing from eCos */ +#ifndef EFAULT +#define EFAULT 14 /* Bad address */ +#endif +#endif + #ifdef HAVE_NETINET_IN_H #include <netinet/in.h> #endif |