SDL_image: nanosvg.h: fixed two -Wunused-function warnings.

From 78e78d5ef250321481eebda3777e3b5cea874d8e Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Fri, 27 May 2022 14:11:10 +0300
Subject: [PATCH] nanosvg.h: fixed two -Wunused-function warnings.

---
 nanosvg.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/nanosvg.h b/nanosvg.h
index 6bdf9be9..bc45cfb2 100644
--- a/nanosvg.h
+++ b/nanosvg.h
@@ -166,15 +166,19 @@ typedef struct NSVGimage
 	NSVGshape* shapes;			// Linked list of shapes in the image.
 } NSVGimage;
 
+#ifdef HAVE_STDIO_H
 // Parses SVG file from a file, returns SVG image as paths.
 NSVG_EXPORT NSVGimage* nsvgParseFromFile(const char* filename, const char* units, float dpi);
+#endif
 
 // Parses SVG file from a null terminated string, returns SVG image as paths.
 // Important note: changes the string.
 NSVG_EXPORT NSVGimage* nsvgParse(char* input, const char* units, float dpi);
 
+#if 0
 // Duplicates a path.
 NSVG_EXPORT NSVGpath* nsvgDuplicatePath(NSVGpath* p);
+#endif
 
 // Deletes an image.
 NSVG_EXPORT void nsvgDelete(NSVGimage* image);