summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2019-10-30 21:13:52 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2019-10-30 21:13:52 +0100
commit527327b8e454caa6bd2c0b2947ea8c0563883ba1 (patch)
treee9a677bb428fd4d12a65fcee59881112273595b4 /src
parent8c6f1b8ece078a079aaa018c91085db92d63646c (diff)
Restore CMake support of Darwin + XQuartz + fink test platform
Diffstat (limited to 'src')
-rw-r--r--src/Fl_SVG_Image.cxx6
1 files changed, 3 insertions, 3 deletions
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 <stdio.h>
#include <stdlib.h>
-#if defined(HAVE_LIBZ)
-#include <zlib.h>
-#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 <zlib.h>
+#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.