From a9edf98e904bac98bd5a945993344824de12610b Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Fri, 3 Sep 2021 08:18:32 +0000 Subject: sigh -- review one one pointless sys/param.h, and discover all the includes are a mess. --- usr.sbin/pppd/sys-bsd.c | 25 +++++++------------------ 1 file changed, 7 insertions(+), 18 deletions(-) (limited to 'usr.sbin') diff --git a/usr.sbin/pppd/sys-bsd.c b/usr.sbin/pppd/sys-bsd.c index 4668c3ce6e4..456432762bb 100644 --- a/usr.sbin/pppd/sys-bsd.c +++ b/usr.sbin/pppd/sys-bsd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sys-bsd.c,v 1.30 2020/12/29 19:45:28 benno Exp $ */ +/* $OpenBSD: sys-bsd.c,v 1.31 2021/09/03 08:18:31 deraadt Exp $ */ /* * sys-bsd.c - System-dependent procedures for setting up @@ -78,6 +78,12 @@ * TODO: */ +#include +#include +#include +#include +#include + #include #include #include @@ -89,11 +95,6 @@ #include #include #include -#include -#include -#include -#include -#include #include #ifdef PPP_FILTER @@ -105,19 +106,7 @@ #include #include #include - -#if RTM_VERSION >= 3 -#include -#if defined(NetBSD) && (NetBSD >= 199703) -#include -#else /* NetBSD 1.2D or later */ -#if defined(__FreeBSD__) || defined(__OpenBSD__) #include -#else -#include -#endif -#endif -#endif #include "pppd.h" #include "fsm.h" -- cgit v1.2.3