Add an alternate location of endian.h header

Github-Pull: #6246
Rebased-From: 0640a5eb60
This commit is contained in:
Andriy Voskoboinyk
2015-06-07 04:38:31 +03:00
committed by Wladimir J. van der Laan
parent b7115995d7
commit 8ea6d37aee
2 changed files with 5 additions and 1 deletions

View File

@@ -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)