diff options
Diffstat (limited to 'zaptel.h')
-rwxr-xr-x | zaptel.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -48,7 +48,12 @@ #include "fasthdlc.h" #endif #ifdef CONFIG_DEVFS_FS +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0) #include <linux/devfs_fs_kernel.h> +#else +#undef CONFIG_DEVFS_FS +#warning "Zaptel doesn't support DEVFS in post 2.4 kernels. Disabling DEVFS in zaptel" +#endif #endif /* CONFIG_DEVFS_FS */ #include <linux/ioctl.h> |