]> git.sur5r.net Git - openocd/commitdiff
remove hacks no longer required to build OpenOCD w/eCos
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Fri, 5 Jun 2009 06:43:09 +0000 (06:43 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Fri, 5 Jun 2009 06:43:09 +0000 (06:43 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@2074 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/helper/system.h

index 07b0cb9f2ffce25e2dde2792f34ad9184c11498a..169df1cb4f28945d062263cd79fe7f5cab479782 100644 (file)
 #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