mirror of
https://github.com/openwrt/openwrt.git
synced 2026-11-26 07:56:42 +04:00
fix switch-robo.c compile errors on linux 2.4
SVN-Revision: 10539
This commit is contained in:
1 parent
e8bbb631e3
commit
d65241e13b
1 file changed
+4
@@ -62,6 +62,10 @@
|
||||
#define SIOCGETCPHYRD (SIOCDEVPRIVATE + 9)
|
||||
#define SIOCSETCPHYWR (SIOCDEVPRIVATE + 10)
|
||||
|
||||
/* linux 2.4 does not have 'bool' */
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)
|
||||
#define bool int
|
||||
#endif
|
||||
|
||||
/* Data structure for a Roboswitch device. */
|
||||
struct robo_switch {
|
||||
|
||||
Reference in new issue
Block a user