Commit 465e10ce18f1c68a52ba646ccbc7d2bdc901224f

nia 2020-04-05T18:33:14

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