summaryrefslogtreecommitdiff
path: root/linux/pcmcia-cs/include/linux/slab.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux/pcmcia-cs/include/linux/slab.h')
-rw-r--r--linux/pcmcia-cs/include/linux/slab.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/linux/pcmcia-cs/include/linux/slab.h b/linux/pcmcia-cs/include/linux/slab.h
new file mode 100644
index 0000000..960d9c5
--- /dev/null
+++ b/linux/pcmcia-cs/include/linux/slab.h
@@ -0,0 +1,12 @@
+#ifndef _COMPAT_SLAB_H
+#define _COMPAT_SLAB_H
+
+#include <linux/version.h>
+
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,2,0))
+#include_next <linux/malloc.h>
+#else
+#include_next <linux/slab.h>
+#endif
+
+#endif /* _COMPAT_SLAB_H */