* src/image.c (syms_of_image): Add Qsvg image type if SVG is
also supported by native image APIs.
# endif
DEFSYM (Qgobject, "gobject");
#endif /* HAVE_NTGUI */
-#endif /* HAVE_RSVG */
+#elif defined HAVE_NATIVE_IMAGE_API \
+ && ((defined HAVE_NS && defined NS_IMPL_COCOA) \
+ || defined HAVE_HAIKU)
+ DEFSYM (Qsvg, "svg");
+ add_image_type (Qsvg);
+#endif
#ifdef HAVE_NS
DEFSYM (Qheic, "heic");