diff --git a/src/core/core-crypto.c b/src/core/core-crypto.c index 175982fdb..ce93de879 100644 --- a/src/core/core-crypto.c +++ b/src/core/core-crypto.c @@ -31,6 +31,12 @@ #include #include +#ifdef __ANDROID__ +/* Bring in htobe64 */ +#define _BSD_SOURCE +#include +#endif + #include "weechat.h" #include "core-crypto.h" #include "core-config-file.h"