summaryrefslogtreecommitdiff
path: root/tools/xz/patches/100-freebsd-compat.patch
blob: 480a65293a7e327797f008ff82100a3cbc0052b1 (plain)
1
2
3
4
5
6
7
8
9
10
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