From 81a40cb8b348e6272d9fb51c4ef610771025a79c Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 31 Jul 2011 17:59:25 +0000 Subject: squashfs4: add missing include for freebsd (patch from #9842) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27850 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- tools/squashfs4/patches/160-expose_lzma_xz_options.patch | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tools') 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 + +#ifndef linux ++#ifdef __FreeBSD__ ++#include ++#endif +#define __BYTE_ORDER BYTE_ORDER +#define __BIG_ENDIAN BIG_ENDIAN +#define __LITTLE_ENDIAN LITTLE_ENDIAN -- cgit v1.2.3