Changeset 4417


Ignore:
Timestamp:
05/08/08 22:28:53 (5 years ago)
Author:
andrew
Message:

Teach qemu the post 2.6.22 #include paths for usb gadgetfs (Thilo Fromm).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/host/qemu-neo1973/usb-linux-gadget.c

    r3616 r4417  
    2727#  include <linux/usb_ch9.h> 
    2828#  include <linux/usb_gadgetfs.h> 
     29# elif LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 23) 
     30#  include <linux/usb/ch9.h> 
     31#  include <linux/usb_gadgetfs.h> 
    2932# else 
    3033#  include <linux/usb/ch9.h> 
    31 #  include <linux/usb_gadgetfs.h> 
     34#  include <linux/usb/gadgetfs.h> 
    3235# endif 
    3336# include <poll.h> 
Note: See TracChangeset for help on using the changeset viewer.