diff options
author | Darren Tucker <dtucker@dtucker.net> | 2019-07-08 17:27:26 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2019-07-08 17:27:26 +1000 |
commit | eb0b51dac408fadd1fd13fa6d726ab8fdfcc4152 (patch) | |
tree | 70569fb29ea8b0472d44ab06ed4a865e2ce6d231 /openbsd-compat/port-irix.c | |
parent | 43702f8e6fa22a258e25c4dd950baaae0bc656b7 (diff) |
Move log.h include inside ifdefs.
Fixes build on some other platforms that don't have va_list immediately
available (eg NetBSD).
Diffstat (limited to 'openbsd-compat/port-irix.c')
-rw-r--r-- | openbsd-compat/port-irix.c | 4 |
1 files 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) { |