packages/utils/lcd4linux/patches/130-linux_2.6.19_wireless_h.patch
nico eac3356248 add a patch to fix lcd4linux on linux 2.6.19 (see [6052]), add some touches to prevent aclocal, autoconf & automake from beeing run, fix typo
git-svn-id: svn://svn.openwrt.org/openwrt/packages@6054 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-10 00:24:06 +00:00

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>