SDL: SDL_dbus.h: define DBUS_TIMEOUT_USE_DEFAULT if not already defined.

From c521e1286be9284d3652569fab02718d9faa4d06 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Wed, 31 May 2023 01:55:40 +0300
Subject: [PATCH] SDL_dbus.h: define DBUS_TIMEOUT_USE_DEFAULT if not already
 defined.

---
 src/core/linux/SDL_dbus.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/core/linux/SDL_dbus.h b/src/core/linux/SDL_dbus.h
index 8174c20aff1a..6326ba7c2b77 100644
--- a/src/core/linux/SDL_dbus.h
+++ b/src/core/linux/SDL_dbus.h
@@ -28,6 +28,10 @@
 #define SDL_USE_LIBDBUS 1
 #include <dbus/dbus.h>
 
+#ifndef DBUS_TIMEOUT_USE_DEFAULT
+#define DBUS_TIMEOUT_USE_DEFAULT -1
+#endif
+
 typedef struct SDL_DBusContext
 {
     DBusConnection *session_conn;