summaryrefslogtreecommitdiff
path: root/modules/svg/image_loader_svg.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/svg/image_loader_svg.h')
-rw-r--r--modules/svg/image_loader_svg.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/modules/svg/image_loader_svg.h b/modules/svg/image_loader_svg.h
index 9e9366e91b..24cee82480 100644
--- a/modules/svg/image_loader_svg.h
+++ b/modules/svg/image_loader_svg.h
@@ -34,13 +34,14 @@
#include "core/io/image_loader.h"
#include "core/ustring.h"
-#include <nanosvg.h>
-#include <nanosvgrast.h>
-
/**
@author Daniel Ramirez <djrmuv@gmail.com>
*/
+// Forward declare and include thirdparty headers in .cpp.
+struct NSVGrasterizer;
+struct NSVGimage;
+
class SVGRasterizer {
NSVGrasterizer *rasterizer;