scatterplot: fixed compiler warnings
[pspp] / src / output / charts / scatterplot.c
index 2c3ffd683f23c7aa1e8d70ca7c7d9e73b8194b8c..5073a5a71b7e5e5b600905b2f97edafd9d82b5dc 100644 (file)
@@ -21,6 +21,7 @@
 #include <gsl/gsl_cdf.h>
 
 #include "data/casereader.h"
+#include "data/variable.h"
 #include "libpspp/cast.h"
 #include "output/chart-item-provider.h"
 
@@ -28,7 +29,7 @@
 
 /* Creates a scatterplot */
 struct scatterplot_chart *
-scatterplot_create (const struct casereader *reader, 
+scatterplot_create (struct casereader *reader,
                    const char *xlabel,
                    const char *ylabel,
                    const struct variable *byvar,