commit 0e5c0731c8940494d2776380fb145cb05906e96b
Author: Christophe Fergeau <[email protected]>
Date: Fri Feb 26 10:50:58 2010 +0100
fix hal callout compilation when libusb isn't present
tools/hal-backend.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/tools/hal-backend.c b/tools/hal-backend.c
index aaac3fd..0c5f52b 100644
--- a/tools/hal-backend.c
+++ b/tools/hal-backend.c
@@ -446,8 +446,10 @@ int main (int argc, char **argv)
}
hal_backend = (HalBackend *)backend;
+#ifdef HAVE_LIBUSB
hal_get_ipod_usb_position (hal_backend->ctx, hal_backend->udi,
&usb_bus_number, &usb_device_number);
+#endif
result = itdb_callout_set_ipod_properties (backend, dev,
usb_bus_number,
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2