From 3f8dba3713f33ecdacb23d845e1caed11cd19f5c Mon Sep 17 00:00:00 2001 From: Petar Popovic Date: Thu, 4 Apr 2024 18:38:21 +0200 Subject: [PATCH] Including SD_error.h into headers with error-returning functions --- include/SDL3/SDL_camera.h | 1 + include/SDL3/SDL_clipboard.h | 1 + include/SDL3/SDL_dialog.h | 1 + include/SDL3/SDL_filesystem.h | 1 + include/SDL3/SDL_hidapi.h | 1 + include/SDL3/SDL_hints.h | 1 + include/SDL3/SDL_init.h | 1 + include/SDL3/SDL_main.h | 1 + include/SDL3/SDL_messagebox.h | 1 + include/SDL3/SDL_misc.h | 1 + include/SDL3/SDL_pixels.h | 1 + include/SDL3/SDL_power.h | 1 + include/SDL3/SDL_properties.h | 1 + include/SDL3/SDL_render.h | 1 + include/SDL3/SDL_storage.h | 1 + include/SDL3/SDL_surface.h | 1 + include/SDL3/SDL_system.h | 1 + include/SDL3/SDL_version.h | 1 + include/SDL3/SDL_video.h | 1 + include/SDL3/SDL_vulkan.h | 1 + 20 files changed, 20 insertions(+) diff --git a/include/SDL3/SDL_camera.h b/include/SDL3/SDL_camera.h index 717de3c76..923fb481d 100644 --- a/include/SDL3/SDL_camera.h +++ b/include/SDL3/SDL_camera.h @@ -28,6 +28,7 @@ #ifndef SDL_camera_h_ #define SDL_camera_h_ +#include #include #include diff --git a/include/SDL3/SDL_clipboard.h b/include/SDL3/SDL_clipboard.h index 7e2d3aba6..5f0257ee7 100644 --- a/include/SDL3/SDL_clipboard.h +++ b/include/SDL3/SDL_clipboard.h @@ -29,6 +29,7 @@ #define SDL_clipboard_h_ #include +#include #include /* Set up for C function definitions, even when using C++ */ diff --git a/include/SDL3/SDL_dialog.h b/include/SDL3/SDL_dialog.h index 4af592e50..d4a7577cb 100644 --- a/include/SDL3/SDL_dialog.h +++ b/include/SDL3/SDL_dialog.h @@ -22,6 +22,7 @@ #ifndef SDL_dialog_h_ #define SDL_dialog_h_ +#include #include #include diff --git a/include/SDL3/SDL_filesystem.h b/include/SDL3/SDL_filesystem.h index 1fabcc236..971a19bee 100644 --- a/include/SDL3/SDL_filesystem.h +++ b/include/SDL3/SDL_filesystem.h @@ -29,6 +29,7 @@ #define SDL_filesystem_h_ #include +#include #include diff --git a/include/SDL3/SDL_hidapi.h b/include/SDL3/SDL_hidapi.h index 422c329ac..ecbe0de50 100644 --- a/include/SDL3/SDL_hidapi.h +++ b/include/SDL3/SDL_hidapi.h @@ -63,6 +63,7 @@ #define SDL_hidapi_h_ #include +#include #include /* Set up for C function definitions, even when using C++ */ diff --git a/include/SDL3/SDL_hints.h b/include/SDL3/SDL_hints.h index 9fc047541..5c04617ad 100644 --- a/include/SDL3/SDL_hints.h +++ b/include/SDL3/SDL_hints.h @@ -40,6 +40,7 @@ #define SDL_hints_h_ #include +#include #include /* Set up for C function definitions, even when using C++ */ diff --git a/include/SDL3/SDL_init.h b/include/SDL3/SDL_init.h index cb2de9997..d1b925270 100644 --- a/include/SDL3/SDL_init.h +++ b/include/SDL3/SDL_init.h @@ -29,6 +29,7 @@ #define SDL_init_h_ #include +#include #include /* Set up for C function definitions, even when using C++ */ diff --git a/include/SDL3/SDL_main.h b/include/SDL3/SDL_main.h index 0659ad61d..7694e3eac 100644 --- a/include/SDL3/SDL_main.h +++ b/include/SDL3/SDL_main.h @@ -24,6 +24,7 @@ #include #include +#include #include /* diff --git a/include/SDL3/SDL_messagebox.h b/include/SDL3/SDL_messagebox.h index b9c4d93f1..3d6855275 100644 --- a/include/SDL3/SDL_messagebox.h +++ b/include/SDL3/SDL_messagebox.h @@ -23,6 +23,7 @@ #define SDL_messagebox_h_ #include +#include #include /* For SDL_Window */ #include diff --git a/include/SDL3/SDL_misc.h b/include/SDL3/SDL_misc.h index e50d91bd1..e87319989 100644 --- a/include/SDL3/SDL_misc.h +++ b/include/SDL3/SDL_misc.h @@ -29,6 +29,7 @@ #define SDL_misc_h_ #include +#include #include diff --git a/include/SDL3/SDL_pixels.h b/include/SDL3/SDL_pixels.h index 94533f24a..b0606ce62 100644 --- a/include/SDL3/SDL_pixels.h +++ b/include/SDL3/SDL_pixels.h @@ -65,6 +65,7 @@ #define SDL_pixels_h_ #include +#include #include #include diff --git a/include/SDL3/SDL_power.h b/include/SDL3/SDL_power.h index 117fc0fc1..15e5baa44 100644 --- a/include/SDL3/SDL_power.h +++ b/include/SDL3/SDL_power.h @@ -29,6 +29,7 @@ */ #include +#include #include /* Set up for C function definitions, even when using C++ */ diff --git a/include/SDL3/SDL_properties.h b/include/SDL3/SDL_properties.h index 80c2f5239..f9d895a9e 100644 --- a/include/SDL3/SDL_properties.h +++ b/include/SDL3/SDL_properties.h @@ -29,6 +29,7 @@ #define SDL_properties_h_ #include +#include #include /* Set up for C function definitions, even when using C++ */ diff --git a/include/SDL3/SDL_render.h b/include/SDL3/SDL_render.h index 46cf94a62..c11526eca 100644 --- a/include/SDL3/SDL_render.h +++ b/include/SDL3/SDL_render.h @@ -49,6 +49,7 @@ #define SDL_render_h_ #include +#include #include #include #include diff --git a/include/SDL3/SDL_storage.h b/include/SDL3/SDL_storage.h index 2ea2d190d..21490f2ed 100644 --- a/include/SDL3/SDL_storage.h +++ b/include/SDL3/SDL_storage.h @@ -29,6 +29,7 @@ #define SDL_storage_h_ #include +#include #include #include diff --git a/include/SDL3/SDL_surface.h b/include/SDL3/SDL_surface.h index 19f77e9ff..ddef6abda 100644 --- a/include/SDL3/SDL_surface.h +++ b/include/SDL3/SDL_surface.h @@ -29,6 +29,7 @@ #define SDL_surface_h_ #include +#include #include #include #include diff --git a/include/SDL3/SDL_system.h b/include/SDL3/SDL_system.h index 25964ba35..3d8410085 100644 --- a/include/SDL3/SDL_system.h +++ b/include/SDL3/SDL_system.h @@ -29,6 +29,7 @@ #define SDL_system_h_ #include +#include #include #include #include diff --git a/include/SDL3/SDL_version.h b/include/SDL3/SDL_version.h index 492898a1b..11fc353ec 100644 --- a/include/SDL3/SDL_version.h +++ b/include/SDL3/SDL_version.h @@ -29,6 +29,7 @@ #define SDL_version_h_ #include +#include #include /* Set up for C function definitions, even when using C++ */ diff --git a/include/SDL3/SDL_video.h b/include/SDL3/SDL_video.h index fff4e8fa8..0be8e627d 100644 --- a/include/SDL3/SDL_video.h +++ b/include/SDL3/SDL_video.h @@ -29,6 +29,7 @@ #define SDL_video_h_ #include +#include #include #include #include diff --git a/include/SDL3/SDL_vulkan.h b/include/SDL3/SDL_vulkan.h index 64544c8b6..64e7349e4 100644 --- a/include/SDL3/SDL_vulkan.h +++ b/include/SDL3/SDL_vulkan.h @@ -28,6 +28,7 @@ #ifndef SDL_vulkan_h_ #define SDL_vulkan_h_ +#include #include #include