]>
Commit | Line | Data |
---|---|---|
4771af42 JB |
1 | --- eagle-1.0.4/driver/user/adictrl.c.orig 2004-01-18 15:22:15.000000000 +0100 |
2 | +++ eagle-1.0.4/driver/user/adictrl.c 2004-01-18 15:35:06.439165640 +0100 | |
3 | @@ -181,6 +181,8 @@ | |
4 | */ | |
5 | ||
6 | typedef struct usb_device_descriptor | |
7 | +#ifndef __LINUX_USB_CH9_H | |
8 | +/* in 2.6 this struct is already available in <linux/usb_ch9.h> */ | |
9 | { | |
10 | uint8_t bLength; | |
11 | uint8_t bDescriptorType; | |
12 | @@ -196,7 +198,9 @@ | |
13 | uint8_t iProduct; | |
14 | uint8_t iSerialNumber; | |
15 | uint8_t bNumConfigurations; | |
16 | -} __attribute__((packed)) usb_dev_desc_t; | |
17 | +} __attribute__((packed)) | |
18 | +#endif | |
19 | +usb_dev_desc_t; | |
20 | ||
21 | /** | |
22 | * cmv_msg_t - CMV message description. |