diff options
author | Colin Watson <cjwatson@debian.org> | 2007-06-12 17:14:26 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2007-06-12 17:14:26 +0000 |
commit | be510142eba95a25ede7e2713a6c11e9520800d5 (patch) | |
tree | 1926c8702a9ca61a8f4dfa2ee790bcb26a5e688e /openbsd-compat/port-linux.c | |
parent | d599801f2da8ac1baa312018bab1d8e0156d7f9f (diff) |
fix some missing #includes etc.
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) |