Commit 918a7d19553a9a4181bf1561b8b828a5f82e60e0

Edward Thomson 2020-04-14T12:26:36

Merge pull request #5487 from niacat/master deps: ntlmclient: use htobe64 on NetBSD too

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/deps/ntlmclient/compat.h b/deps/ntlmclient/compat.h
index 555fa3f..f4d859a 100644
--- a/deps/ntlmclient/compat.h
+++ b/deps/ntlmclient/compat.h
@@ -25,7 +25,7 @@
 /* See man page endian(3) */
 # include <endian.h>
 # define htonll htobe64
-#elif defined(__OpenBSD__)
+#elif defined(__NetBSD__) || defined(__OpenBSD__)
 /* See man page htobe64(3) */
 # include <endian.h>
 # define htonll htobe64