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;