summaryrefslogtreecommitdiffstats
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
parenttester/covoar: Remove the C part of main and convert to C++ (diff)
downloadrtems-tools-feafa6fdf33006154d283265a86daee26cf46443.tar.bz2
_elftc.h: Make compile on Cygwin
-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)