diff options
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/ui/remotecontrol/BluetoothServer.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sd/source/ui/remotecontrol/BluetoothServer.cxx b/sd/source/ui/remotecontrol/BluetoothServer.cxx index c859f953e1cd..352275db4017 100644 --- a/sd/source/ui/remotecontrol/BluetoothServer.cxx +++ b/sd/source/ui/remotecontrol/BluetoothServer.cxx @@ -17,6 +17,10 @@ #include <bluetooth/bluetooth.h> #include <bluetooth/rfcomm.h> #define DBUS_TYPE_G_STRING_ANY_HASHTABLE (dbus_g_type_get_map( "GHashTable", G_TYPE_STRING, G_TYPE_VALUE )) + +#ifndef G_VALUE_INIT + #define G_VALUE_INIT {0,{{0}}} // G_VALUE_INIT only present in glib >= 2.30 +#endif #endif #ifdef WIN32 |