Add an alternate location of endian.h header

Github-Pull: #6246
Rebased-From: 0640a5eb60b06de61f873fd88ae0252f5a11c339
This commit is contained in:
Andriy Voskoboinyk
2015-06-23 09:03:09 +02:00
parent b7115995d7
commit 8ea6d37aee
2 changed files with 5 additions and 1 deletions
+2
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)