summaryrefslogtreecommitdiff
path: root/zaptel.h
diff options
context:
space:
mode:
Diffstat (limited to 'zaptel.h')
-rw-r--r--zaptel.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/zaptel.h b/zaptel.h
index 97954eb..17a7503 100644
--- a/zaptel.h
+++ b/zaptel.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>