[openssh-commits] [openssh] 01/01: Move generic includes outside of ifdef.

git+noreply at mindrot.org git+noreply at mindrot.org
Fri Mar 12 13:20:23 AEDT 2021

This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch V_8_5
in repository openssh.

commit 51155e52e94dc1847e695765c80b0c8e768b880e
Author: Darren Tucker <dtucker at dtucker.net>
Date:   Fri Mar 12 13:16:10 2021 +1100

    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"
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/param.h>
@@ -31,12 +29,14 @@
 #include <string.h>
 #include <unistd.h>
+#include "log.h"
 #include <libcontract.h>
 #include <sys/contract/process.h>
 #include <sys/ctfs.h>
-#include "log.h"
 #define CT_TEMPLATE	CTFS_ROOT "/process/template"
 #define CT_LATEST	CTFS_ROOT "/process/latest"

To stop receiving notification emails like this one, please contact
djm at mindrot.org.

More information about the openssh-commits mailing list