From: Darren Tucker Date: Mon, 8 Jul 2019 07:27:26 +0000 (+1000) Subject: Move log.h include inside ifdefs. X-Git-Tag: V_8_1_P1~172 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb0b51dac408fadd1fd13fa6d726ab8fdfcc4152;p=thirdparty%2Fopenssh-portable.git Move log.h include inside ifdefs. Fixes build on some other platforms that don't have va_list immediately available (eg NetBSD). --- 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) {