src/helper: usage/help updates
[fw/openocd] / 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