summaryrefslogtreecommitdiff
path: root/backport-include/net/ipv6_stubs.h
diff options
context:
space:
mode:
Diffstat (limited to 'backport-include/net/ipv6_stubs.h')
-rw-r--r--backport-include/net/ipv6_stubs.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/backport-include/net/ipv6_stubs.h b/backport-include/net/ipv6_stubs.h
new file mode 100644
index 0000000..7d9a522
--- /dev/null
+++ b/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 <net/addrconf.h>
+
+#else
+#include_next <net/ipv6_stubs.h>
+#endif
+
+#endif /* _BACKPORT_IPV6_STUBS_H */