mirror of
https://github.com/ckolivas/lrzip.git
synced 2025-12-06 07:12:00 +01:00
Include arpa/inet.h for those OSs that have endian details elsewhere.
This commit is contained in:
parent
4bc8faa526
commit
70e7866271
|
|
@ -68,7 +68,7 @@ fi
|
||||||
|
|
||||||
AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h sys/mman.h)
|
AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h sys/mman.h)
|
||||||
AC_CHECK_HEADERS(ctype.h errno.h sys/resource.h)
|
AC_CHECK_HEADERS(ctype.h errno.h sys/resource.h)
|
||||||
AC_CHECK_HEADERS(endian.h sys/endian.h)
|
AC_CHECK_HEADERS(endian.h sys/endian.h arpa/inet.h)
|
||||||
|
|
||||||
AC_TYPE_OFF_T
|
AC_TYPE_OFF_T
|
||||||
AC_TYPE_SIZE_T
|
AC_TYPE_SIZE_T
|
||||||
|
|
|
||||||
3
lrzip.c
3
lrzip.c
|
|
@ -42,6 +42,9 @@
|
||||||
#elif HAVE_SYS_ENDIAN_H
|
#elif HAVE_SYS_ENDIAN_H
|
||||||
# include <sys/endian.h>
|
# include <sys/endian.h>
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef HAVE_ARPA_INET_H
|
||||||
|
# include <arpa/inet.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "md5.h"
|
#include "md5.h"
|
||||||
#include "rzip.h"
|
#include "rzip.h"
|
||||||
|
|
|
||||||
3
main.c
3
main.c
|
|
@ -42,6 +42,9 @@
|
||||||
#elif HAVE_SYS_ENDIAN_H
|
#elif HAVE_SYS_ENDIAN_H
|
||||||
# include <sys/endian.h>
|
# include <sys/endian.h>
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef HAVE_ARPA_INET_H
|
||||||
|
# include <arpa/inet.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "rzip.h"
|
#include "rzip.h"
|
||||||
#include "lrzip.h"
|
#include "lrzip.h"
|
||||||
|
|
|
||||||
3
runzip.c
3
runzip.c
|
|
@ -36,6 +36,9 @@
|
||||||
#elif HAVE_SYS_ENDIAN_H
|
#elif HAVE_SYS_ENDIAN_H
|
||||||
# include <sys/endian.h>
|
# include <sys/endian.h>
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef HAVE_ARPA_INET_H
|
||||||
|
# include <arpa/inet.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "md5.h"
|
#include "md5.h"
|
||||||
#include "runzip.h"
|
#include "runzip.h"
|
||||||
|
|
|
||||||
3
rzip.c
3
rzip.c
|
|
@ -47,6 +47,9 @@
|
||||||
#elif HAVE_SYS_ENDIAN_H
|
#elif HAVE_SYS_ENDIAN_H
|
||||||
# include <sys/endian.h>
|
# include <sys/endian.h>
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef HAVE_ARPA_INET_H
|
||||||
|
# include <arpa/inet.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "md5.h"
|
#include "md5.h"
|
||||||
#include "stream.h"
|
#include "stream.h"
|
||||||
|
|
|
||||||
4
stream.c
4
stream.c
|
|
@ -44,6 +44,10 @@
|
||||||
#elif HAVE_SYS_ENDIAN_H
|
#elif HAVE_SYS_ENDIAN_H
|
||||||
# include <sys/endian.h>
|
# include <sys/endian.h>
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef HAVE_ARPA_INET_H
|
||||||
|
# include <arpa/inet.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/* LZMA C Wrapper */
|
/* LZMA C Wrapper */
|
||||||
#include "lzma/C/LzmaLib.h"
|
#include "lzma/C/LzmaLib.h"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue