aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2015-06-09 18:24:46 +0200
committerWladimir J. van der Laan <[email protected]>2015-06-09 18:24:53 +0200
commit3a2ca9bbdec7e52d950806e1efce7175abeb88ab (patch)
tree228a0110ebf61b4067167cba567433f3b57febea /src
parentMerge pull request #6217 (diff)
parentAdd an alternate location of endian.h header (diff)
downloaddiscoin-3a2ca9bbdec7e52d950806e1efce7175abeb88ab.tar.xz
discoin-3a2ca9bbdec7e52d950806e1efce7175abeb88ab.zip
Merge pull request #6246
0640a5e Add an alternate location of endian.h header (Andriy Voskoboinyk)
Diffstat (limited to 'src')
-rw-r--r--src/compat/endian.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compat/endian.h b/src/compat/endian.h
index 4d041d655..9fec2a07f 100644
--- a/src/compat/endian.h
+++ b/src/compat/endian.h
@@ -15,6 +15,8 @@
#if defined(HAVE_ENDIAN_H)
#include <endian.h>
+#elif defined(HAVE_SYS_ENDIAN_H)
+#include <sys/endian.h>
#endif
#if defined(WORDS_BIGENDIAN)