SDL_dbus.h: define DBUS_TIMEOUT_USE_DEFAULT if not already defined.

main
Ozkan Sezer 2023-05-31 01:55:40 +03:00
parent 20dfb7df2c
commit c521e1286b
1 changed files with 4 additions and 0 deletions

View File

@ -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;