1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-25 12:26:40 +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 8c0a3b4d81
commit f0f77e1bd9
+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