summaryrefslogtreecommitdiff
path: root/openbsd-compat
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2007-06-12 17:14:26 +0000
committerColin Watson <cjwatson@debian.org>2007-06-12 17:14:26 +0000
commitbe510142eba95a25ede7e2713a6c11e9520800d5 (patch)
tree1926c8702a9ca61a8f4dfa2ee790bcb26a5e688e /openbsd-compat
parentd599801f2da8ac1baa312018bab1d8e0156d7f9f (diff)
fix some missing #includes etc.
Diffstat (limited to 'openbsd-compat')
-rw-r--r--openbsd-compat/port-linux.c8
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
44extern 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 */
39static int 47static int
40ssh_selinux_enabled(void) 48ssh_selinux_enabled(void)