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 | |
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')
-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 0eb9ed006..aebffb014 100644 --- a/openbsd-compat/port-irix.c +++ b/openbsd-compat/port-irix.c | |||
@@ -25,8 +25,6 @@ | |||
25 | 25 | ||
26 | #include "includes.h" | 26 | #include "includes.h" |
27 | 27 | ||
28 | #include "log.h" | ||
29 | |||
30 | #if defined(WITH_IRIX_PROJECT) || \ | 28 | #if defined(WITH_IRIX_PROJECT) || \ |
31 | defined(WITH_IRIX_JOBS) || \ | 29 | defined(WITH_IRIX_JOBS) || \ |
32 | defined(WITH_IRIX_ARRAY) | 30 | defined(WITH_IRIX_ARRAY) |
@@ -45,6 +43,8 @@ | |||
45 | # include <sat.h> | 43 | # include <sat.h> |
46 | #endif /* WITH_IRIX_AUDIT */ | 44 | #endif /* WITH_IRIX_AUDIT */ |
47 | 45 | ||
46 | #include "log.h" | ||
47 | |||
48 | void | 48 | void |
49 | irix_setusercontext(struct passwd *pw) | 49 | irix_setusercontext(struct passwd *pw) |
50 | { | 50 | { |