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