squashfs4: add missing include for freebsd (patch from #9842)
SVN-Revision: 27850
This commit is contained in:
parent
eb90f30ce7
commit
de23984834
1 changed files with 4 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/squashfs-tools/lzma_xz_options.h
|
+++ b/squashfs-tools/lzma_xz_options.h
|
||||||
@@ -0,0 +1,112 @@
|
@@ -0,0 +1,115 @@
|
||||||
+#ifndef LZMA_XZ_OPTIONS_H
|
+#ifndef LZMA_XZ_OPTIONS_H
|
||||||
+#define LZMA_XZ_OPTIONS_H
|
+#define LZMA_XZ_OPTIONS_H
|
||||||
+/*
|
+/*
|
||||||
|
@ -27,6 +27,9 @@
|
||||||
+#include <stdint.h>
|
+#include <stdint.h>
|
||||||
+
|
+
|
||||||
+#ifndef linux
|
+#ifndef linux
|
||||||
|
+#ifdef __FreeBSD__
|
||||||
|
+#include <machine/endian.h>
|
||||||
|
+#endif
|
||||||
+#define __BYTE_ORDER BYTE_ORDER
|
+#define __BYTE_ORDER BYTE_ORDER
|
||||||
+#define __BIG_ENDIAN BIG_ENDIAN
|
+#define __BIG_ENDIAN BIG_ENDIAN
|
||||||
+#define __LITTLE_ENDIAN LITTLE_ENDIAN
|
+#define __LITTLE_ENDIAN LITTLE_ENDIAN
|
||||||
|
|
Loading…
Reference in a new issue