From 3de36b2ecf108a1ed91099ac2a0b1b5ea955d1d4 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Wed, 4 Jan 2023 22:56:02 -0800
Subject: [PATCH] Use SDL3 begin_code.h/close_code.h
---
include/SDL3/SDL_image.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/SDL3/SDL_image.h b/include/SDL3/SDL_image.h
index fa14ca81..96cbcc0b 100644
--- a/include/SDL3/SDL_image.h
+++ b/include/SDL3/SDL_image.h
@@ -31,7 +31,7 @@
#include <SDL3/SDL.h>
#include <SDL3/SDL_version.h>
-#include "begin_code.h"
+#include <SDL3/SDL_begin_code.h>
/* Set up for C function definitions, even when using C++ */
#ifdef __cplusplus
@@ -2188,6 +2188,6 @@ extern DECLSPEC IMG_Animation * SDLCALL IMG_LoadWEBPAnimation_RW(SDL_RWops *src)
#ifdef __cplusplus
}
#endif
-#include "close_code.h"
+#include <SDL3/SDL_close_code.h>
#endif /* SDL_IMAGE_H_ */