diff options
Diffstat (limited to 'openbsd-compat/port-linux.c')
-rw-r--r-- | openbsd-compat/port-linux.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/openbsd-compat/port-linux.c b/openbsd-compat/port-linux.c index d153f8fb5..030c733df 100644 --- a/openbsd-compat/port-linux.c +++ b/openbsd-compat/port-linux.c | |||
@@ -28,13 +28,21 @@ | |||
28 | #include <string.h> | 28 | #include <string.h> |
29 | 29 | ||
30 | #ifdef WITH_SELINUX | 30 | #ifdef WITH_SELINUX |
31 | #include "key.h" | ||
32 | #include "hostfile.h" | ||
33 | #include "auth.h" | ||
31 | #include "log.h" | 34 | #include "log.h" |
35 | #ifdef HAVE_GETSEUSERBYNAME | ||
36 | #include "xmalloc.h" | ||
37 | #endif | ||
32 | #include "port-linux.h" | 38 | #include "port-linux.h" |
33 | 39 | ||
34 | #include <selinux/selinux.h> | 40 | #include <selinux/selinux.h> |
35 | #include <selinux/flask.h> | 41 | #include <selinux/flask.h> |
36 | #include <selinux/get_context_list.h> | 42 | #include <selinux/get_context_list.h> |
37 | 43 | ||
44 | extern Authctxt *the_authctxt; | ||
45 | |||
38 | /* Wrapper around is_selinux_enabled() to log its return value once only */ | 46 | /* Wrapper around is_selinux_enabled() to log its return value once only */ |
39 | static int | 47 | static int |
40 | ssh_selinux_enabled(void) | 48 | ssh_selinux_enabled(void) |