summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--generic.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/generic.c b/generic.c
index 616ce25..a4d17f1 100644
--- a/generic.c
+++ b/generic.c
@@ -27,7 +27,10 @@
* TODO:
* - Allocate more than order 0 pages to avoid too much linear map splitting.
*/
+#include <linux/version.h>
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19)
#include <linux/config.h>
+#endif
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/init.h>