100-freebsd-compat.patch 333 B

1234567891011
  1. --- a/src/common/tuklib_integer.h
  2. +++ b/src/common/tuklib_integer.h
  3. @@ -48,7 +48,7 @@
  4. // Operating system specific features //
  5. ////////////////////////////////////////
  6. -#if defined(HAVE_BYTESWAP_H)
  7. +#if defined(HAVE_BYTESWAP_H) && !defined(__FreeBSD__)
  8. // glibc, uClibc, dietlibc
  9. # include <byteswap.h>
  10. # ifdef HAVE_BSWAP_16