From: claudio Date: Tue, 9 Apr 2024 12:53:08 +0000 (+0000) Subject: Don't include net/art.h in net/rtable.h instead let the two users X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=91defc8b61fe9ff881eb2b8e8b6070d9e4869019;p=openbsd Don't include net/art.h in net/rtable.h instead let the two users include the file themselves. OK bluhm@ mpi@ --- diff --git a/sys/net/if_wg.c b/sys/net/if_wg.c index 9a7d00aac32..eecfd02de4b 100644 --- a/sys/net/if_wg.c +++ b/sys/net/if_wg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_wg.c,v 1.37 2024/03/05 17:48:01 mvs Exp $ */ +/* $OpenBSD: if_wg.c,v 1.38 2024/04/09 12:53:08 claudio Exp $ */ /* * Copyright (C) 2015-2020 Jason A. Donenfeld . All Rights Reserved. @@ -42,6 +42,7 @@ #include #include #include +#include #include #include diff --git a/sys/net/rtable.c b/sys/net/rtable.c index 48108ce025c..bc4f558a416 100644 --- a/sys/net/rtable.c +++ b/sys/net/rtable.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rtable.c,v 1.86 2024/03/26 10:01:57 bluhm Exp $ */ +/* $OpenBSD: rtable.c,v 1.87 2024/04/09 12:53:08 claudio Exp $ */ /* * Copyright (c) 2014-2016 Martin Pieuchot @@ -30,6 +30,7 @@ #include #include +#include /* * Structures used by rtable_get() to retrieve the corresponding diff --git a/sys/net/rtable.h b/sys/net/rtable.h index 441c4718f66..143b517d98b 100644 --- a/sys/net/rtable.h +++ b/sys/net/rtable.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rtable.h,v 1.28 2023/11/12 17:51:41 bluhm Exp $ */ +/* $OpenBSD: rtable.h,v 1.29 2024/04/09 12:53:08 claudio Exp $ */ /* * Copyright (c) 2014-2016 Martin Pieuchot @@ -23,7 +23,6 @@ * Newer routing table implementation based on ART (Allotment Routing * Table). */ -#include #define rt_key(rt) ((rt)->rt_dest) #define rt_plen(rt) ((rt)->rt_plen)