You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
freifunkist-firmware/tools/xz/patches/100-freebsd-compat.patch

12 lines
333 B

--- 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