eac3356248
git-svn-id: svn://svn.openwrt.org/openwrt/packages@6054 3c298f89-4303-0410-b956-a3cf2f4a3e73
16 lines
549 B
Diff
16 lines
549 B
Diff
diff -ruN lcd4linux-0.10.0+cvs20051015-old/plugin_wireless.c lcd4linux-0.10.0+cvs20051015-new/plugin_wireless.c
|
|
--- lcd4linux-0.10.0+cvs20051015-old/plugin_wireless.c 2005-05-08 06:32:45.000000000 +0200
|
|
+++ lcd4linux-0.10.0+cvs20051015-new/plugin_wireless.c 2007-01-10 01:08:13.000000000 +0100
|
|
@@ -92,6 +92,11 @@
|
|
|
|
#include <sys/ioctl.h>
|
|
#include <net/if_arp.h>
|
|
+#include <linux/version.h>
|
|
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19)
|
|
+#include <linux/types.h>
|
|
+#include <linux/if.h>
|
|
+#endif
|
|
#include <linux/wireless.h>
|
|
#include <math.h>
|
|
|