Browse Source

Add the definition for DBUS_TYPE_UNIX_FD to SDL_dbus.h

kemal 7 months ago
parent
commit
eac63b4735
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/core/linux/SDL_dbus.h

+ 3 - 0
src/core/linux/SDL_dbus.h

@@ -34,6 +34,9 @@
 #ifndef DBUS_TIMEOUT_INFINITE
 #define DBUS_TIMEOUT_INFINITE ((int) 0x7fffffff)
 #endif
+#ifndef DBUS_TYPE_UNIX_FD
+#define DBUS_TYPE_UNIX_FD ((int) 'h')
+#endif
 
 typedef struct SDL_DBusContext
 {