Added an ifdef case for the new struct net_device name.

This commit is contained in:
mark 2000-06-11 16:22:34 +00:00
parent 5c4caafcff
commit 57022341f7
1 changed files with 6 additions and 0 deletions

View File

@ -67,7 +67,13 @@
/* Types */
/* struct device from linux/netdevice.h */
/* Not exactly sure when this changed.... */
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,3,38))
typedef struct device netdevice_t;
#else
typedef struct net_device netdevice_t;
#endif
/* Received frame statistics */
typedef struct p80211_frmrx_t