Check for different endian.h includes and variants of le32toh.

This commit is contained in:
Con Kolivas 2011-03-22 07:57:32 +11:00
parent fae0f0d493
commit 2736118f82
6 changed files with 33 additions and 2 deletions

View file

@ -39,6 +39,11 @@
#ifdef HAVE_ERRNO_H
# include <errno.h>
#endif
#ifdef HAVE_ENDIAN_H
# include <endian.h>
#elif HAVE_SYS_ENDIAN_H
# include <sys/endian.h>
#endif
/* LZMA C Wrapper */
#include "lzma/C/LzmaLib.h"