From 64ad089c50c954e9130448f1becfab0f6aff6a9b Mon Sep 17 00:00:00 2001 From: Ben Pfaff <blp@cs.stanford.edu> Date: Tue, 3 Apr 2012 21:14:03 -0700 Subject: [PATCH] spreadlevel-plot: Fix missing #include <stdlib.h> MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reported by GCC: spreadlevel-plot.c: In function âspreadlevel_plot_chart_destroyâ: spreadlevel-plot.c:84: error: implicit declaration of function âfreeâ preadlevel-plot.c:84: error: incompatible implicit declaration of built-in function âfreeâ --- src/output/charts/spreadlevel-plot.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/output/charts/spreadlevel-plot.c b/src/output/charts/spreadlevel-plot.c index 8fcc0bdeeb..d5b6e3d01a 100644 --- a/src/output/charts/spreadlevel-plot.c +++ b/src/output/charts/spreadlevel-plot.c @@ -26,6 +26,7 @@ #include <math.h> #include <float.h> +#include <stdlib.h> struct chart_item * spreadlevel_plot_create (const char *label, double tx_pwr) -- 2.30.2