Skip to content
Snippets Groups Projects
Commit d49242aa authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

tools: Fix xz build on FreeBSD 10.1


Signed-off-by: default avatarJo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44278
parent 2cdba572
No related branches found
No related tags found
No related merge requests found
--- 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment