From 6c2fd1a8ca7e2748c73fbbff2a292137a6d8ed36 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Thu, 19 Dec 2019 18:21:48 +0100 Subject: [PATCH] Include stdlib.h in avatar.c We use malloc() and free(). Fix https://github.com/profanity-im/profanity/issues/1241 --- src/xmpp/avatar.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xmpp/avatar.c b/src/xmpp/avatar.c index fb69424c..8ecc86fa 100644 --- a/src/xmpp/avatar.c +++ b/src/xmpp/avatar.c @@ -35,6 +35,7 @@ #include #include +#include #include #include