summaryrefslogtreecommitdiff
path: root/session.c
diff options
context:
space:
mode:
Diffstat (limited to 'session.c')
-rw-r--r--session.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/session.c b/session.c
index 0452f507a..f0dabe111 100644
--- a/session.c
+++ b/session.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: session.c,v 1.309 2019/01/17 04:45:09 djm Exp $ */ 1/* $OpenBSD: session.c,v 1.310 2019/01/19 21:31:32 djm Exp $ */
2/* 2/*
3 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 3 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
4 * All rights reserved 4 * All rights reserved
@@ -105,6 +105,9 @@
105#include <selinux/selinux.h> 105#include <selinux/selinux.h>
106#endif 106#endif
107 107
108#include "opacket.h" /* XXX */
109extern struct ssh *active_state; /* XXX */
110
108#define IS_INTERNAL_SFTP(c) \ 111#define IS_INTERNAL_SFTP(c) \
109 (!strncmp(c, INTERNAL_SFTP_NAME, sizeof(INTERNAL_SFTP_NAME) - 1) && \ 112 (!strncmp(c, INTERNAL_SFTP_NAME, sizeof(INTERNAL_SFTP_NAME) - 1) && \
110 (c[sizeof(INTERNAL_SFTP_NAME) - 1] == '\0' || \ 113 (c[sizeof(INTERNAL_SFTP_NAME) - 1] == '\0' || \