summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openbsd-compat/port-linux.c8
-rw-r--r--readconf.c2
2 files changed, 10 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)
diff --git a/readconf.c b/readconf.c
index 6a0ffd634..39e195837 100644
--- a/readconf.c
+++ b/readconf.c
@@ -28,6 +28,8 @@
28#include <stdio.h> 28#include <stdio.h>
29#include <string.h> 29#include <string.h>
30#include <unistd.h> 30#include <unistd.h>
31#include <pwd.h>
32#include <grp.h>
31 33
32#include "xmalloc.h" 34#include "xmalloc.h"
33#include "ssh.h" 35#include "ssh.h"