SDL_image: Fixed up to work with wikiheaders again.

From 35ea23fc6be156f4f08e0945ebdfc6c8fd0bb5b4 Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Wed, 12 Jun 2024 18:46:24 -0400
Subject: [PATCH] Fixed up to work with wikiheaders again.

---
 .wikiheaders-options | 5 ++++-
 include/SDL_image.h  | 4 ++--
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/.wikiheaders-options b/.wikiheaders-options
index 6eb5b73f..6462dc10 100644
--- a/.wikiheaders-options
+++ b/.wikiheaders-options
@@ -1,6 +1,6 @@
 projectfullname = SDL_image
 projectshortname = SDL_image
-incsubdir =
+incsubdir = include
 wikisubdir = SDL_image
 apiprefixregex = IMG_
 mainincludefname = SDL_image.h
@@ -14,3 +14,6 @@ wikiurl = https://wiki.libsdl.org/SDL_image
 bugreporturl = https://github.com/libsdl-org/sdlwiki/issues/new
 warn_about_missing = 0
 wikipreamble = (This function is part of SDL_image, a separate library from SDL.)
+wikiheaderfiletext = Defined in [<%fname%>](https://github.com/libsdl-org/SDL_image/blob/SDL2/include/%fname%)
+manpageheaderfiletext = Defined in %fname%
+
diff --git a/include/SDL_image.h b/include/SDL_image.h
index d8482f27..ece8a85e 100644
--- a/include/SDL_image.h
+++ b/include/SDL_image.h
@@ -91,7 +91,7 @@ extern DECLSPEC const SDL_version * SDLCALL IMG_Linked_Version(void);
 /**
  * Initialization flags
  */
-typedef enum
+typedef enum IMG_InitFlags
 {
     IMG_INIT_JPG    = 0x00000001,
     IMG_INIT_PNG    = 0x00000002,
@@ -2041,7 +2041,7 @@ extern DECLSPEC int SDLCALL IMG_SaveJPG_RW(SDL_Surface *surface, SDL_RWops *dst,
  * Animated image support
  * Currently only animated GIFs are supported.
  */
-typedef struct
+typedef struct IMG_Animation
 {
 	int w, h;
 	int count;