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
This commit is contained in:
oharboe 2009-06-05 06:43:09 +00:00
parent af838b03a0
commit aee65603ee

View File

@ -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