about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2019-12-19 18:21:48 +0100
committerMichael Vetter <jubalh@iodoru.org>2019-12-19 18:21:48 +0100
commit6c2fd1a8ca7e2748c73fbbff2a292137a6d8ed36 (patch)
treefa8e4cb373507d9c0e8d285995b93196b7ca50b2 /src
parent46478df097ad9f23b1063fbdb21151288038f6da (diff)
downloadprofani-tty-6c2fd1a8ca7e2748c73fbbff2a292137a6d8ed36.tar.gz
Include stdlib.h in avatar.c
We use malloc() and free().

Fix https://github.com/profanity-im/profanity/issues/1241
Diffstat (limited to 'src')
-rw-r--r--src/xmpp/avatar.c1
1 files changed, 1 insertions, 0 deletions
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 <glib.h>
 #include <stdio.h>
+#include <stdlib.h>
 #include <errno.h>
 #include <sys/stat.h>