diff options
Diffstat (limited to 'src/compat/compat.h')
-rw-r--r-- | src/compat/compat.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/compat/compat.h b/src/compat/compat.h index 2853c09..5affedf 100644 --- a/src/compat/compat.h +++ b/src/compat/compat.h @@ -591,6 +591,11 @@ static inline void *skb_put_data(struct sk_buff *skb, const void *data, unsigned } #endif +#include <linux/atomic.h> +#if !defined(atomic_try_cmpxchg) +#include "atomic/atomic.h" +#endif + /* https://lkml.org/lkml/2017/6/23/790 */ #if IS_ENABLED(CONFIG_NF_CONNTRACK) #include <linux/ip.h> |