From 527327b8e454caa6bd2c0b2947ea8c0563883ba1 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Wed, 30 Oct 2019 21:13:52 +0100 Subject: Restore CMake support of Darwin + XQuartz + fink test platform --- src/Fl_SVG_Image.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Fl_SVG_Image.cxx') diff --git a/src/Fl_SVG_Image.cxx b/src/Fl_SVG_Image.cxx index a2a1970cc..709f2c15a 100644 --- a/src/Fl_SVG_Image.cxx +++ b/src/Fl_SVG_Image.cxx @@ -26,9 +26,6 @@ #include "Fl_Screen_Driver.H" #include #include -#if defined(HAVE_LIBZ) -#include -#endif #if !defined(HAVE_LONG_LONG) static double strtoll(const char *str, char **endptr, int base) { @@ -43,6 +40,9 @@ static double strtoll(const char *str, char **endptr, int base) { #define NANOSVGRAST_IMPLEMENTATION // Expands implementation #include "../nanosvg/nanosvgrast.h" +#if defined(HAVE_LIBZ) +#include +#endif /** The constructor loads the SVG image from the given .svg/.svgz filename or in-memory data. \param filename Name of a .svg or .svgz file, or NULL. -- cgit v1.2.3