mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-24 05:46:30 +02:00
squashfs4: add missing include for freebsd (patch from #9842)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27850 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
324bb5216a
commit
921227360d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user