From 781d2d83fad99ffc777d28cd38d733f08b8c765d Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Mon, 24 Jun 2019 17:54:19 +0200 Subject: header: Add backport-include/net/ipv6_stubs.h ipv6_stubs.h was added in kernel commit 3616d08bcbb5 ("ipv6: Move ipv6 stubs to a separate header file"). Most of its content is from include/net/addrconf.h, so include that file indirectly on older kernel versions. Signed-off-by: Hauke Mehrtens --- backport/backport-include/net/ipv6_stubs.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 backport/backport-include/net/ipv6_stubs.h diff --git a/backport/backport-include/net/ipv6_stubs.h b/backport/backport-include/net/ipv6_stubs.h new file mode 100644 index 00000000..7d9a5226 --- /dev/null +++ b/backport/backport-include/net/ipv6_stubs.h @@ -0,0 +1,13 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _BACKPORT_IPV6_STUBS_H +#define _BACKPORT_IPV6_STUBS_H + +#if LINUX_VERSION_IS_LESS(5,2,0) + +#include + +#else +#include_next +#endif + +#endif /* _BACKPORT_IPV6_STUBS_H */ -- cgit v1.2.3