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:
parent
43702f8e6f
commit
eb0b51dac4
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue