Merge pull request #5487 from niacat/master deps: ntlmclient: use htobe64 on NetBSD too
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