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:
committed by
Sébastien Helleu
parent
bcd3594b38
commit
f9eb31d517
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user