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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compat/compat.h b/src/compat/compat.h
index cd1773a..bf0b589 100644
--- a/src/compat/compat.h
+++ b/src/compat/compat.h
@@ -1036,6 +1036,10 @@ static inline void skb_reset_redirect(struct sk_buff *skb)
#define sw_hash ignore_df = 0; skb->nf_trace = skb->ooo_okay
#endif
+#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 3, 0)
+#define pre_exit exit
+#endif
+
#if defined(ISUBUNTU1604) || defined(ISRHEL7)
#include <linux/siphash.h>
#ifndef _WG_LINUX_SIPHASH_H