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

core: Fix build on Android to define htobe64

This commit is contained in:
Fredrik Fornwall
2024-09-09 14:20:31 +02:00
committed by Sébastien Helleu
parent bcd3594b38
commit f9eb31d517
+6
View File
@@ -31,6 +31,12 @@
#include <math.h>
#include <gcrypt.h>
#ifdef __ANDROID__
/* Bring in htobe64 */
#define _BSD_SOURCE
#include <endian.h>
#endif
#include "weechat.h"
#include "core-crypto.h"
#include "core-config-file.h"