[openssh-commits] [openssh] 01/01: Move log.h include inside ifdefs.

git+noreply at mindrot.org git+noreply at mindrot.org
Mon Jul 8 17:28:37 AEST 2019


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit eb0b51dac408fadd1fd13fa6d726ab8fdfcc4152
Author: Darren Tucker <dtucker at dtucker.net>
Date:   Mon Jul 8 17:27:26 2019 +1000

    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 0eb9ed00..aebffb01 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 <sat.h>
 #endif /* WITH_IRIX_AUDIT */
 
+#include "log.h"
+
 void
 irix_setusercontext(struct passwd *pw)
 {

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list