SDL_dbus.h: define DBUS_TIMEOUT_USE_DEFAULT if not already defined.

(cherry picked from commit c521e1286b)
This commit is contained in:
Ozkan Sezer committed 2023-09-21 01:32:50 +03:00
1 parent 60070d0b3d
commit 834e8898b9
1 file changed
+4
+4
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;