#ifndef _KCOMPAT_DEFS_H_ #define _KCOMPAT_DEFS_H_ #ifndef LINUX_VERSION_CODE #include #else #ifndef KERNEL_VERSION #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c)) #endif #endif /* LINUX_VERSION_CODE */ #ifndef UTS_RELEASE #include #endif /* * Include the definitions file for HAVE/NEED flags for the standard upstream * kernels. * * Then, based on the distribution we detect, load the distribution specific * definitions file that customizes the definitions for the target * distribution. */ #include "kcompat_std_defs.h" #ifdef RHEL_RELEASE_CODE #include "kcompat_rhel_defs.h" #endif #include "kcompat_generated_defs.h" #endif /* _KCOMPAT_DEFS_H_ */