From 174698fa5b1e24743ea971a4c5161c170e18407c Mon Sep 17 00:00:00 2001 From: Marc Hoersken Date: Sun, 2 Sep 2018 17:24:45 +0200 Subject: [PATCH] Fix implicit declaration of function 'free' by including stdlib.h --- src/misc.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/misc.c b/src/misc.c index f353b058..57203aeb 100644 --- a/src/misc.c +++ b/src/misc.c @@ -41,6 +41,10 @@ #include "misc.h" #include "blf.h" +#ifdef HAVE_STDLIB_H +#include +#endif + #ifdef HAVE_UNISTD_H #include #endif