]> git.pld-linux.org Git - packages/eagle-usb.git/blame - eagle-usb-user2.6.patch
- %%build/%%install fixed.
[packages/eagle-usb.git] / eagle-usb-user2.6.patch
CommitLineData
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.
This page took 0.054328 seconds and 4 git commands to generate.