summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2020-03-01 15:57:24 -0800
committerGitHub <noreply@github.com>2020-03-01 15:57:24 -0800
commit6d25dbdc5c3924336f61bc6091df64821acb95f2 (patch)
tree852ff0def2b85a272a17741863eecbcb84ad5aea
parent8c1aef10b82adf34a80e60909c27bd14d5b35163 (diff)
parentc690136c78075cc95ea4f1b9578f8133136299ee (diff)
downloadlibgit2-6d25dbdc5c3924336f61bc6091df64821acb95f2.tar.gz
Merge pull request #5426 from pks-t/pks/freebsd-htobe64
deps: ntlmclient: fix htonll on big endian FreeBSD
-rw-r--r--deps/ntlmclient/compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/ntlmclient/compat.h b/deps/ntlmclient/compat.h
index 43bc86564..555fa3fe4 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>