On 07/06/2012 09:26 AM, Hans de Goede wrote:
On 07/05/2012 10:43 PM, Uri Lublin wrote:
+typedef struct _SpiceUsbDeviceInfo {
+#ifdef USE_USBREDIR
+ guint8 busnum;
+ guint8 devaddr;
+ guint16 vid;
+ guint16 pid;
+ int ref;
+#endif
+} SpiceUsbDeviceInfo;
+
#ifdef USE_USBREDIR
static void channel_new(SpiceSession *session, SpiceChannel *channel,
gpointer user_data);
Many compilers barf on empty structs, at a minimum you need to put an
"int dummy;" in there.
Hi Hans,
I moved the whole struct below the next #ifdef USE_USBREDIR.
Thanks,
Uri.
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel