aboutsummaryrefslogtreecommitdiffstats
path: root/tools/squashfs4/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-07-31 17:59:25 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-07-31 17:59:25 +0000
commitde2398483470efd28ba8ef7f2389636bf6db3f53 (patch)
tree0e564772c5483bdc92fc776bfcb53cfb1184c1bb /tools/squashfs4/patches
parenteb90f30ce7c4c59c4f59befd0bb0dd2735dc4f18 (diff)
downloadupstream-de2398483470efd28ba8ef7f2389636bf6db3f53.tar.gz
upstream-de2398483470efd28ba8ef7f2389636bf6db3f53.tar.bz2
upstream-de2398483470efd28ba8ef7f2389636bf6db3f53.zip
squashfs4: add missing include for freebsd (patch from #9842)
SVN-Revision: 27850
Diffstat (limited to 'tools/squashfs4/patches')
-rw-r--r--tools/squashfs4/patches/160-expose_lzma_xz_options.patch5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/squashfs4/patches/160-expose_lzma_xz_options.patch b/tools/squashfs4/patches/160-expose_lzma_xz_options.patch
index b5fb80dffa..61f5e6c37d 100644
--- a/tools/squashfs4/patches/160-expose_lzma_xz_options.patch
+++ b/tools/squashfs4/patches/160-expose_lzma_xz_options.patch
@@ -1,6 +1,6 @@
--- /dev/null
+++ b/squashfs-tools/lzma_xz_options.h
-@@ -0,0 +1,112 @@
+@@ -0,0 +1,115 @@
+#ifndef LZMA_XZ_OPTIONS_H
+#define LZMA_XZ_OPTIONS_H
+/*
@@ -27,6 +27,9 @@
+#include <stdint.h>
+
+#ifndef linux
++#ifdef __FreeBSD__
++#include <machine/endian.h>
++#endif
+#define __BYTE_ORDER BYTE_ORDER
+#define __BIG_ENDIAN BIG_ENDIAN
+#define __LITTLE_ENDIAN LITTLE_ENDIAN