]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Move log.h include inside ifdefs.
authorDarren Tucker <dtucker@dtucker.net>
Mon, 8 Jul 2019 07:27:26 +0000 (17:27 +1000)
committerDarren Tucker <dtucker@dtucker.net>
Mon, 8 Jul 2019 07:27:26 +0000 (17:27 +1000)
Fixes build on some other platforms that don't have va_list immediately
available (eg NetBSD).

openbsd-compat/port-irix.c

index 0eb9ed00658c1165c4f13764a567ff9f5679e051..aebffb0143b9a9132a17fa60877a29c98c755f39 100644 (file)
@@ -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 <sat.h>
 #endif /* WITH_IRIX_AUDIT */
 
+#include "log.h"
+
 void
 irix_setusercontext(struct passwd *pw)
 {