From eb0b51dac408fadd1fd13fa6d726ab8fdfcc4152 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Mon, 8 Jul 2019 17:27:26 +1000 Subject: [PATCH] Move log.h include inside ifdefs. Fixes build on some other platforms that don't have va_list immediately available (eg NetBSD). --- openbsd-compat/port-irix.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openbsd-compat/port-irix.c b/openbsd-compat/port-irix.c index 0eb9ed006..aebffb014 100644 --- a/openbsd-compat/port-irix.c +++ b/openbsd-compat/port-irix.c @@ -25,8 +25,6 @@ #include "includes.h" -#include "log.h" - #if defined(WITH_IRIX_PROJECT) || \ defined(WITH_IRIX_JOBS) || \ defined(WITH_IRIX_ARRAY) @@ -45,6 +43,8 @@ # include #endif /* WITH_IRIX_AUDIT */ +#include "log.h" + void irix_setusercontext(struct passwd *pw) {