diff options
-rw-r--r-- | torisa.c | 4 | ||||
-rw-r--r-- | zaptel.h | 4 | ||||
-rw-r--r-- | zconfig.h | 4 |
3 files changed, 9 insertions, 3 deletions
@@ -19,8 +19,10 @@ * original by Jim Dixon <jim@lambdatel.com> */ -#include <linux/config.h> #include <linux/version.h> +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18) +#include <linux/config.h> +#endif #include <linux/kernel.h> #include <linux/sched.h> #include <linux/init.h> @@ -32,8 +32,10 @@ #ifdef __KERNEL__ #include "zconfig.h" -#include <linux/config.h> #include <linux/version.h> +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18) +#include <linux/config.h> +#endif #include <linux/fs.h> #include <linux/ioctl.h> @@ -6,8 +6,10 @@ #define _ZCONFIG_H #ifdef __KERNEL__ -#include <linux/config.h> #include <linux/version.h> +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18) +#include <linux/config.h> +#endif #endif /* Zaptel compile time options */ |