From 16dd7678576184108a2bcd5121c6cfd8747742bd Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Mon, 1 Apr 2013 05:59:18 -0300 Subject: [PATCH] fw/include/atusb/ep0.h (USB_TYPE_VENDOR): avoid conflict with /usr/include/usb.h --- atusb/fw/include/atusb/ep0.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/atusb/fw/include/atusb/ep0.h b/atusb/fw/include/atusb/ep0.h index 56cd175..bd615d3 100644 --- a/atusb/fw/include/atusb/ep0.h +++ b/atusb/fw/include/atusb/ep0.h @@ -42,7 +42,10 @@ * recipient (0 = device) */ +#ifndef USB_TYPE_VENDOR #define USB_TYPE_VENDOR 0x40 +#endif + #define USB_DIR_IN 0x80 #define USB_DIR_OUT 0x00