Put headers inside ifdef _AIX.

Prevents compile errors due to missing definitions (eg va_list) on
non-AIX platforms.
This commit is contained in:
Darren Tucker 2019-11-13 11:19:26 +11:00
parent a4cc579c6a
commit 245dcbdca5

View File

@ -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>