From 834e8898b9d2e79da927d00af562ec2131af3da1 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Wed, 31 May 2023 01:55:40 +0300 Subject: [PATCH] SDL_dbus.h: define DBUS_TIMEOUT_USE_DEFAULT if not already defined. (cherry picked from commit c521e1286be9284d3652569fab02718d9faa4d06) --- 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 4d3898033..b81f1209e 100644 --- a/src/core/linux/SDL_dbus.h +++ b/src/core/linux/SDL_dbus.h @@ -29,6 +29,10 @@ #include "SDL_stdinc.h" #include +#ifndef DBUS_TIMEOUT_USE_DEFAULT +#define DBUS_TIMEOUT_USE_DEFAULT -1 +#endif + typedef struct SDL_DBusContext { DBusConnection *session_conn;