summaryrefslogtreecommitdiff
path: root/rtemstoolkit
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2018-04-30 18:08:12 -0500
committerJoel Sherrill <joel@rtems.org>2018-04-30 18:12:49 -0500
commitfeafa6fdf33006154d283265a86daee26cf46443 (patch)
tree6f741712dd97fadcf4ae84d7745a5ffd6f1ceb23 /rtemstoolkit
parent14c7f256c3b49dce101ff88e78f5fc7975cdec48 (diff)
_elftc.h: Make compile on Cygwin
Diffstat (limited to 'rtemstoolkit')
-rw-r--r--rtemstoolkit/elftoolchain/common/_elftc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rtemstoolkit/elftoolchain/common/_elftc.h b/rtemstoolkit/elftoolchain/common/_elftc.h
index ed4fdbc..b7b5205 100644
--- a/rtemstoolkit/elftoolchain/common/_elftc.h
+++ b/rtemstoolkit/elftoolchain/common/_elftc.h
@@ -492,7 +492,7 @@ extern const char *__progname;
#if defined(__WIN32__) || defined(__CYGWIN__)
#if defined(__CYGWIN__)
-#include <sys/endian.h>
+#include <endian.h>
#else /* __CYGWIN */
#include <winsock2.h>
#define htobe32(x) (x)