SDL_dbus.h: define DBUS_TIMEOUT_USE_DEFAULT if not already defined.

(cherry picked from commit c521e1286be9284d3652569fab02718d9faa4d06)
This commit is contained in:
Ozkan Sezer 2023-05-31 01:55:40 +03:00
parent 60070d0b3d
commit 834e8898b9

View File

@ -29,6 +29,10 @@
#include "SDL_stdinc.h"
#include <dbus/dbus.h>
#ifndef DBUS_TIMEOUT_USE_DEFAULT
#define DBUS_TIMEOUT_USE_DEFAULT -1
#endif
typedef struct SDL_DBusContext
{
DBusConnection *session_conn;