mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-02-03 21:32:58 +00:00
tools: Fix xz build on FreeBSD 10.1
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 44278
This commit is contained in:
parent
2cdba572f9
commit
d49242aae2
11
tools/xz/patches/100-freebsd-compat.patch
Normal file
11
tools/xz/patches/100-freebsd-compat.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- a/src/common/tuklib_integer.h
|
||||||
|
+++ b/src/common/tuklib_integer.h
|
||||||
|
@@ -48,7 +48,7 @@
|
||||||
|
// Operating system specific features //
|
||||||
|
////////////////////////////////////////
|
||||||
|
|
||||||
|
-#if defined(HAVE_BYTESWAP_H)
|
||||||
|
+#if defined(HAVE_BYTESWAP_H) && !defined(__FreeBSD__)
|
||||||
|
// glibc, uClibc, dietlibc
|
||||||
|
# include <byteswap.h>
|
||||||
|
# ifdef HAVE_BSWAP_16
|
Loading…
Reference in New Issue
Block a user