the routing table. Define _KERNEL around the net/route.h include.
OK florian@
-/* $OpenBSD: route.c,v 1.106 2020/12/29 19:51:52 benno Exp $ */
+/* $OpenBSD: route.c,v 1.107 2021/03/17 09:03:51 claudio Exp $ */
/* $NetBSD: route.c,v 1.15 1996/05/07 02:55:06 thorpej Exp $ */
/*
#include <net/if.h>
#include <net/if_types.h>
+#define _KERNEL
#include <net/route.h>
+#undef _KERNEL
#include <netinet/ip_ipsp.h>
#include <netinet/in.h>
#include <arpa/inet.h>