projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
src/helper: usage/help updates
[fw/openocd]
/
src
/
helper
/
system.h
diff --git
a/src/helper/system.h
b/src/helper/system.h
index 07b0cb9f2ffce25e2dde2792f34ad9184c11498a..169df1cb4f28945d062263cd79fe7f5cab479782 100644
(file)
--- 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