From 37b4aac3acf0563247bb83ab6c618c777a3d5525 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Wed, 28 Aug 2024 13:58:03 -0700
Subject: [PATCH] Removed unnecessary inclusion of stdbool.h
---
src/audio/aaudio/SDL_aaudio.c | 1 -
src/joystick/ps2/SDL_sysjoystick.c | 1 -
src/storage/steam/SDL_steamstorage.c | 2 --
src/video/wayland/SDL_waylandsym.h | 2 --
src/video/windows/SDL_windowsgameinput.c | 1 -
5 files changed, 7 deletions(-)
diff --git a/src/audio/aaudio/SDL_aaudio.c b/src/audio/aaudio/SDL_aaudio.c
index 260ea6e14c4d6..8a9d8d1f812ab 100644
--- a/src/audio/aaudio/SDL_aaudio.c
+++ b/src/audio/aaudio/SDL_aaudio.c
@@ -26,7 +26,6 @@
#include "SDL_aaudio.h"
#include "../../core/android/SDL_android.h"
-#include <stdbool.h>
#include <aaudio/AAudio.h>
#if __ANDROID_API__ < 31
diff --git a/src/joystick/ps2/SDL_sysjoystick.c b/src/joystick/ps2/SDL_sysjoystick.c
index 0c00ffa4a253b..8054d0eb2f0fa 100644
--- a/src/joystick/ps2/SDL_sysjoystick.c
+++ b/src/joystick/ps2/SDL_sysjoystick.c
@@ -29,7 +29,6 @@
#include <stdio.h> // For the definition of NULL
#include <stdlib.h>
-#include <stdbool.h>
#include "../SDL_sysjoystick.h"
#include "../SDL_joystick_c.h"
diff --git a/src/storage/steam/SDL_steamstorage.c b/src/storage/steam/SDL_steamstorage.c
index cd5b1307b043c..237334e2e9d84 100644
--- a/src/storage/steam/SDL_steamstorage.c
+++ b/src/storage/steam/SDL_steamstorage.c
@@ -23,8 +23,6 @@
#include "../SDL_sysstorage.h"
-#include <stdbool.h> // Needed by Steamworks
-
// !!! FIXME: Async API can use SteamRemoteStorage_ReadFileAsync
// !!! FIXME: Async API can use SteamRemoteStorage_WriteFileAsync
diff --git a/src/video/wayland/SDL_waylandsym.h b/src/video/wayland/SDL_waylandsym.h
index 293a679efaf7a..6cd9a655897e2 100644
--- a/src/video/wayland/SDL_waylandsym.h
+++ b/src/video/wayland/SDL_waylandsym.h
@@ -37,8 +37,6 @@
#define SDL_WAYLAND_INTERFACE(iface)
#endif
-#include <stdbool.h>
-
SDL_WAYLAND_MODULE(WAYLAND_CLIENT)
SDL_WAYLAND_SYM(void, wl_proxy_marshal, (struct wl_proxy *, uint32_t, ...))
SDL_WAYLAND_SYM(struct wl_proxy *, wl_proxy_create, (struct wl_proxy *, const struct wl_interface *))
diff --git a/src/video/windows/SDL_windowsgameinput.c b/src/video/windows/SDL_windowsgameinput.c
index 07b94488bdc40..ad35fcea4d64d 100644
--- a/src/video/windows/SDL_windowsgameinput.c
+++ b/src/video/windows/SDL_windowsgameinput.c
@@ -24,7 +24,6 @@
#ifdef HAVE_GAMEINPUT_H
-#include <stdbool.h>
#define COBJMACROS
#include <gameinput.h>