--- src/gnutls_sni.c.orig 2019-01-28 19:50:38 UTC +++ src/gnutls_sni.c @@ -18,7 +18,12 @@ #include #include +#if defined(__FreeBSD__) +#include +#define bswap_16(x) bswap16(x) +#else #include +#endif #include #include