diff options
Diffstat (limited to 'include/compat/linux/export.h')
-rwxr-xr-x | include/compat/linux/export.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/compat/linux/export.h b/include/compat/linux/export.h new file mode 100755 index 0000000..f7842b7 --- /dev/null +++ b/include/compat/linux/export.h @@ -0,0 +1,12 @@ +#ifndef _COMPAT_LINUX_EXPORT_H +#define _COMPAT_LINUX_EXPORT_H 1 + +#include <linux/version.h> + +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,2,0)) +#include_next <linux/export.h> +#else +#include <linux/module.h> +#endif /* (LINUX_VERSION_CODE >= KERNEL_VERSION(3,2,0)) */ + +#endif /* _COMPAT_LINUX_EXPORT_H */ |