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(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_SIZE_T
|
||||
|
|
|
|||
3
lrzip.c
3
lrzip.c
|
|
@ -42,6 +42,9 @@
|
|||
#elif HAVE_SYS_ENDIAN_H
|
||||
# include <sys/endian.h>
|
||||
#endif
|
||||
#ifdef HAVE_ARPA_INET_H
|
||||
# include <arpa/inet.h>
|
||||
#endif
|
||||
|
||||
#include "md5.h"
|
||||
#include "rzip.h"
|
||||
|
|
|
|||
3
main.c
3
main.c
|
|
@ -42,6 +42,9 @@
|
|||
#elif HAVE_SYS_ENDIAN_H
|
||||
# include <sys/endian.h>
|
||||
#endif
|
||||
#ifdef HAVE_ARPA_INET_H
|
||||
# include <arpa/inet.h>
|
||||
#endif
|
||||
|
||||
#include "rzip.h"
|
||||
#include "lrzip.h"
|
||||
|
|
|
|||
3
runzip.c
3
runzip.c
|
|
@ -36,6 +36,9 @@
|
|||
#elif HAVE_SYS_ENDIAN_H
|
||||
# include <sys/endian.h>
|
||||
#endif
|
||||
#ifdef HAVE_ARPA_INET_H
|
||||
# include <arpa/inet.h>
|
||||
#endif
|
||||
|
||||
#include "md5.h"
|
||||
#include "runzip.h"
|
||||
|
|
|
|||
3
rzip.c
3
rzip.c
|
|
@ -47,6 +47,9 @@
|
|||
#elif HAVE_SYS_ENDIAN_H
|
||||
# include <sys/endian.h>
|
||||
#endif
|
||||
#ifdef HAVE_ARPA_INET_H
|
||||
# include <arpa/inet.h>
|
||||
#endif
|
||||
|
||||
#include "md5.h"
|
||||
#include "stream.h"
|
||||
|
|
|
|||
Loading…
Reference in a new issue