diff options
author | Michael Vetter <jubalh@iodoru.org> | 2019-12-19 18:21:48 +0100 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2019-12-19 18:21:48 +0100 |
commit | 6c2fd1a8ca7e2748c73fbbff2a292137a6d8ed36 (patch) | |
tree | fa8e4cb373507d9c0e8d285995b93196b7ca50b2 /src | |
parent | 46478df097ad9f23b1063fbdb21151288038f6da (diff) | |
download | profani-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.c | 1 |
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> |