Move log.h include inside ifdefs.

Fixes build on some other platforms that don't have va_list immediately
available (eg NetBSD).
This commit is contained in:
Darren Tucker 2019-07-08 17:27:26 +10:00
parent 43702f8e6f
commit eb0b51dac4
1 changed files with 2 additions and 2 deletions

View 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)
{