summaryrefslogtreecommitdiff
path: root/usr.sbin/rpki-client/main.c
diff options
context:
space:
mode:
authorJob Snijders <job@cvs.openbsd.org>2022-11-29 20:41:33 +0000
committerJob Snijders <job@cvs.openbsd.org>2022-11-29 20:41:33 +0000
commit7a601320ff7f4a35d7431b2dee18cea14a170166 (patch)
treec85606be03d4549ab6709eb368585f782778d344 /usr.sbin/rpki-client/main.c
parent27ff18ab99d691fafc4569715c9e2ed1d80afabc (diff)
Only include stdarg.h, if we call any of va_{start,end}()
OK tb@
Diffstat (limited to 'usr.sbin/rpki-client/main.c')
-rw-r--r--usr.sbin/rpki-client/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/rpki-client/main.c b/usr.sbin/rpki-client/main.c
index afa1878c655..390ea90a818 100644
--- a/usr.sbin/rpki-client/main.c
+++ b/usr.sbin/rpki-client/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.225 2022/11/28 17:47:01 claudio Exp $ */
+/* $OpenBSD: main.c,v 1.226 2022/11/29 20:41:32 job Exp $ */
/*
* Copyright (c) 2021 Claudio Jeker <claudio@openbsd.org>
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
@@ -33,6 +33,7 @@
#include <fnmatch.h>
#include <poll.h>
#include <pwd.h>
+#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <signal.h>