]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
hostusb: Move USB_DEVFS define to hostusb.h to fix the build
authorCole Robinson <crobinso@redhat.com>
Mon, 17 Dec 2012 19:37:11 +0000 (14:37 -0500)
committerCole Robinson <crobinso@redhat.com>
Mon, 17 Dec 2012 19:37:11 +0000 (14:37 -0500)
src/util/hostusb.c
src/util/hostusb.h

index 24f925b377155f4a34c1db9e129ea1f1048630d1..2eb80a069740c4097856139f07b7755da739dd77 100644 (file)
@@ -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" */
 
index aee15268eac2fa3ff3eb7196ae95674c3c91c335..ad2476d8abf1849e10c57971de7d17c9581dc245 100644 (file)
@@ -25,6 +25,8 @@
 
 # include "internal.h"
 
+# define USB_DEVFS "/dev/bus/usb/"
+
 typedef struct _usbDevice usbDevice;
 typedef struct _usbDeviceList usbDeviceList;