--- weechat-4.4.2/src/core/core-crypto.c.orig	2024-09-08 11:49:21.000000000 +0200
+++ weechat-4.4.2/src/core/core-crypto.c	2024-11-07 21:34:34.229215883 +0100
@@ -30,6 +30,7 @@
 #include <time.h>
 #include <math.h>
 #include <gcrypt.h>
+#include <endian.h>
 
 #include "weechat.h"
 #include "core-crypto.h"