summaryrefslogtreecommitdiff
path: root/usr.sbin/snmpd/log.c
diff options
context:
space:
mode:
authorMartijn van Duren <martijn@cvs.openbsd.org>2023-12-21 12:43:32 +0000
committerMartijn van Duren <martijn@cvs.openbsd.org>2023-12-21 12:43:32 +0000
commit3f9665fc3ef00c867634bdc2d50184e516db2e1d (patch)
tree677cf98712a5ecbe8f39dd736f58f96b0aa5d29a /usr.sbin/snmpd/log.c
parent48436bae05b8923d61ee84ce2c88dd61800fc01f (diff)
Clean up snmpd's header situation.
With the help of tb@ and include-what-you-use. OK tb@
Diffstat (limited to 'usr.sbin/snmpd/log.c')
-rw-r--r--usr.sbin/snmpd/log.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/snmpd/log.c b/usr.sbin/snmpd/log.c
index 6ad48d805f5..2bbae66c886 100644
--- a/usr.sbin/snmpd/log.c
+++ b/usr.sbin/snmpd/log.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: log.c,v 1.16 2017/03/21 12:06:56 bluhm Exp $ */
+/* $OpenBSD: log.c,v 1.17 2023/12/21 12:43:31 martijn Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -16,6 +16,8 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include <sys/types.h>
+
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>