Skip to content

Commit

Permalink
SDL_dbus.h: define DBUS_TIMEOUT_USE_DEFAULT if not already defined.
Browse files Browse the repository at this point in the history
  • Loading branch information
sezero committed May 30, 2023
1 parent 20dfb7d commit c521e12
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/linux/SDL_dbus.h
Expand Up @@ -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;
Expand Down

0 comments on commit c521e12

Please sign in to comment.