Merge pull request #5426 from pks-t/pks/freebsd-htobe64 deps: ntlmclient: fix htonll on big endian FreeBSD
diff --git a/deps/ntlmclient/compat.h b/deps/ntlmclient/compat.h
index 43bc865..555fa3f 100644
--- a/deps/ntlmclient/compat.h
+++ b/deps/ntlmclient/compat.h
@@ -32,7 +32,7 @@
#elif defined(__FreeBSD__)
/* See man page bwaps64(9) */
# include <sys/endian.h>
-# define htonll bswap64
+# define htonll htobe64
#elif defined(sun) || defined(__sun)
/* See man page byteorder(3SOCKET) */
# include <sys/types.h>