1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-12 14:14:48 +02:00

Build fix for Haiku

This commit is contained in:
Luc Schrijvers
2026-01-22 12:46:05 +01:00
committed by Sébastien Helleu
parent b6ef936cca
commit 8fe741e057
+3
View File
@@ -46,6 +46,9 @@
#include <netinet/in.h>
#include <inttypes.h>
#define BE_INT64 htonll
#elif defined(__HAIKU__)
#include <ByteOrder.h>
#define BE_INT64 B_HOST_TO_BENDIAN_INT64
#else
#define BE_INT64 htobe64
#endif