aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/compat/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compat/compat.h')
-rw-r--r--src/compat/compat.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/compat/compat.h b/src/compat/compat.h
index aebeabf..69dada8 100644
--- a/src/compat/compat.h
+++ b/src/compat/compat.h
@@ -16,9 +16,6 @@
#define ISRHEL7
#elif RHEL_MAJOR == 8
#define ISRHEL8
-#if RHEL_MINOR >= 7
-#define ISCENTOS8S
-#endif
#endif
#endif
#ifdef UTS_UBUNTU_RELEASE_ABI
@@ -390,7 +387,7 @@ static inline int get_random_bytes_wait(void *buf, int nbytes)
#define system_power_efficient_wq system_unbound_wq
#endif
-#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 3, 0) && !defined(ISCENTOS8S)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 3, 0)
#include <linux/ktime.h>
#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 17, 0)
#include <linux/hrtimer.h>