diff options
author | mirabilos <tg@mirbsd.org> | 2017-01-27 02:02:41 +0100 |
---|---|---|
committer | Itamar Reis Peixoto <itamar@ispbrasil.com.br> | 2017-01-26 23:02:41 -0200 |
commit | 6257bae23f09420c7988fb04523384f1be475c9e (patch) | |
tree | 6936de294718d764dfa765017bb1c995e181ca7d /sesman/session.c | |
parent | 0bb048d35ea2824de8ed8f31c146163622f3ed38 (diff) | |
download | xrdp-proprietary-6257bae23f09420c7988fb04523384f1be475c9e.tar.gz xrdp-proprietary-6257bae23f09420c7988fb04523384f1be475c9e.zip |
Add GNU/kFreeBSD support (#645)
* GNU/kFreeBSD is a FreeBSD variant, for code purposes.
* GNU/kFreeBSD uses GNU/Linux-ish init scripts, however.
Diffstat (limited to 'sesman/session.c')
-rw-r--r-- | sesman/session.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sesman/session.c b/sesman/session.c index cf6f45c4..a672e93e 100644 --- a/sesman/session.c +++ b/sesman/session.c @@ -503,7 +503,7 @@ session_start_fork(tbus data, tui8 type, struct SCP_SESSION *s) g_sprintf(geometry, "%dx%d", s->width, s->height); g_sprintf(depth, "%d", s->bpp); g_sprintf(screen, ":%d", display); -#ifdef __FreeBSD__ +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) /* * FreeBSD bug * ports/157282: effective login name is not set by xrdp-sesman |