From: Cole Robinson Date: Mon, 17 Dec 2012 19:37:11 +0000 (-0500) Subject: hostusb: Move USB_DEVFS define to hostusb.h to fix the build X-Git-Tag: v1.0.2-rc1~388 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2628ad8368419ee4f0be99f0dfa5c3a24360d257;p=thirdparty%2Flibvirt.git hostusb: Move USB_DEVFS define to hostusb.h to fix the build --- diff --git a/src/util/hostusb.c b/src/util/hostusb.c index 24f925b377..2eb80a0697 100644 --- a/src/util/hostusb.c +++ b/src/util/hostusb.c @@ -38,7 +38,6 @@ #include "virterror_internal.h" #define USB_SYSFS "/sys/bus/usb" -#define USB_DEVFS "/dev/bus/usb/" #define USB_ID_LEN 10 /* "1234 5678" */ #define USB_ADDR_LEN 8 /* "123:456" */ diff --git a/src/util/hostusb.h b/src/util/hostusb.h index aee15268ea..ad2476d8ab 100644 --- a/src/util/hostusb.h +++ b/src/util/hostusb.h @@ -25,6 +25,8 @@ # include "internal.h" +# define USB_DEVFS "/dev/bus/usb/" + typedef struct _usbDevice usbDevice; typedef struct _usbDeviceList usbDeviceList;