[openssh-commits] [openssh] 01/01: Put headers inside ifdef _AIX.

git+noreply at mindrot.org git+noreply at mindrot.org
Wed Nov 13 11:22:20 AEDT 2019


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

dtucker pushed a commit to branch master
in repository openssh.

commit 245dcbdca5374296bdb9c48be6e24bdf6b1c0af7
Author: Darren Tucker <dtucker at dtucker.net>
Date:   Wed Nov 13 11:19:26 2019 +1100

    Put headers inside ifdef _AIX.
    
    Prevents compile errors due to missing definitions (eg va_list) on
    non-AIX platforms.
---
 openbsd-compat/port-aix.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/openbsd-compat/port-aix.c b/openbsd-compat/port-aix.c
index fc80dc39..e1ad3f11 100644
--- a/openbsd-compat/port-aix.c
+++ b/openbsd-compat/port-aix.c
@@ -26,6 +26,8 @@
  */
 #include "includes.h"
 
+#ifdef _AIX
+
 #include "xmalloc.h"
 #include "sshbuf.h"
 #include "ssherr.h"
@@ -36,8 +38,6 @@
 #include "ssh_api.h"
 #include "log.h"
 
-#ifdef _AIX
-
 #include <errno.h>
 #if defined(HAVE_NETDB_H)
 # include <netdb.h>

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


More information about the openssh-commits mailing list