1 diff -bruN zd1211-driver-r69-old/src/zd1205.c zd1211-driver-r69-new/src/zd1205.c
2 --- zd1211-driver-r69-old/src/zd1205.c 2006-03-18 12:14:33.000000000 +0100
3 +++ zd1211-driver-r69-new/src/zd1205.c 2006-12-15 19:03:55.000000000 +0100
5 * -------------------------------------------------------------------- */
6 #define __KERNEL_SYSCALLS__
8 -#include <linux/config.h>
9 +#include <linux/autoconf.h>
10 #include <net/checksum.h>
11 #include <linux/tcp.h>
12 #include <linux/udp.h>
13 diff -bruN zd1211-driver-r69-old/src/zd1205_proc.c zd1211-driver-r69-new/src/zd1205_proc.c
14 --- zd1211-driver-r69-old/src/zd1205_proc.c 2006-02-13 13:50:12.000000000 +0100
15 +++ zd1211-driver-r69-new/src/zd1205_proc.c 2006-12-15 19:04:02.000000000 +0100
18 * -------------------------------------------------------------------- */
20 -#include <linux/config.h>
21 +#include <linux/autoconf.h>
25 diff -bruN zd1211-driver-r69-old/src/zd1211.c zd1211-driver-r69-new/src/zd1211.c
26 --- zd1211-driver-r69-old/src/zd1211.c 2006-02-16 22:33:51.000000000 +0100
27 +++ zd1211-driver-r69-new/src/zd1211.c 2006-12-15 19:03:16.000000000 +0100
30 * -------------------------------------------------------------------- */
32 -#include <linux/config.h>
33 +#include <linux/autoconf.h>
34 #include <net/checksum.h>
35 #include <linux/tcp.h>
36 #include <linux/udp.h>
38 dev->get_stats = zd1205_get_stats;
39 #if ZDCONF_WE_STAT_SUPPORT == 1
41 +# if WIRELESS_EXT < 21
42 dev->get_wireless_stats = zd1205_iw_getstats;
44 #elif !defined(ZDCONF_WE_STAT_SUPPORT)
45 #error "Undefine ZDCONF_WE_STAT_SUPPORT"