From 3f9665fc3ef00c867634bdc2d50184e516db2e1d Mon Sep 17 00:00:00 2001 From: Martijn van Duren Date: Thu, 21 Dec 2023 12:43:32 +0000 Subject: Clean up snmpd's header situation. With the help of tb@ and include-what-you-use. OK tb@ --- usr.sbin/snmpd/smi.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'usr.sbin/snmpd/smi.h') diff --git a/usr.sbin/snmpd/smi.h b/usr.sbin/snmpd/smi.h index 980dd7da1ef..c6e31c0cceb 100644 --- a/usr.sbin/snmpd/smi.h +++ b/usr.sbin/snmpd/smi.h @@ -1,4 +1,4 @@ -/* $OpenBSD: smi.h,v 1.3 2023/11/08 20:02:52 martijn Exp $ */ +/* $OpenBSD: smi.h,v 1.4 2023/12/21 12:43:31 martijn Exp $ */ /* * Copyright (c) 2021 Martijn van Duren @@ -16,8 +16,10 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include -#include +#include + +struct ber_element; +struct ber_oid; char *smi_oid2string(struct ber_oid *, char *, size_t, size_t); u_long smi_getticks(void); -- cgit v1.2.3