diff options
Diffstat (limited to 'deps')
-rw-r--r-- | deps/ntlmclient/compat.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/deps/ntlmclient/compat.h b/deps/ntlmclient/compat.h index f4d859aec..8093e9e94 100644 --- a/deps/ntlmclient/compat.h +++ b/deps/ntlmclient/compat.h @@ -46,6 +46,9 @@ # define htonll(x) ((((uint64_t)htonl(x)) << 32) + htonl((uint64_t)(x) >> 32)) # endif # endif +#elif defined(__HAIKU__) +# include <ByteOrder.h> +# define htonll B_HOST_TO_BENDIAN_INT64 #endif #ifndef MIN |