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

5
main.c
View file

@ -37,6 +37,11 @@
#endif
#include <math.h>
#include <termios.h>
#ifdef HAVE_ENDIAN_H
# include <endian.h>
#elif HAVE_SYS_ENDIAN_H
# include <sys/endian.h>
#endif
#include "rzip.h"
#include "lrzip.h"