From 51155e52e94dc1847e695765c80b0c8e768b880e Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Fri, 12 Mar 2021 13:16:10 +1100 Subject: Move generic includes outside of ifdef. This ensures that the macros in log.h are defined in the case where either of --with-solaris-projects or --with-solaris-privs are used without --with-solaris-contracts. bz#3278. --- openbsd-compat/port-solaris.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/openbsd-compat/port-solaris.c b/openbsd-compat/port-solaris.c index 7d5a28cd..b84fbff5 100644 --- a/openbsd-compat/port-solaris.c +++ b/openbsd-compat/port-solaris.c @@ -17,8 +17,6 @@ #include "config.h" #include "includes.h" -#ifdef USE_SOLARIS_PROCESS_CONTRACTS - #include #include #include @@ -31,12 +29,14 @@ #include #include +#include "log.h" + +#ifdef USE_SOLARIS_PROCESS_CONTRACTS + #include #include #include -#include "log.h" - #define CT_TEMPLATE CTFS_ROOT "/process/template" #define CT_LATEST CTFS_ROOT "/process/latest" -- cgit v1.2.3