From: Simon Tatham Date: Mon, 19 Sep 2016 13:17:26 +0000 (+0100) Subject: cygtermd: be more specific in define of _XOPEN_SOURCE. X-Git-Tag: 0.68~113 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=24da181a01ecd851757549afd20978e0bfac445b;p=PuTTY.git cygtermd: be more specific in define of _XOPEN_SOURCE. On Debian stretch, it seems we don't get setpgrp() unless we do not merely define it, but define it to 500 or greater. --- diff --git a/contrib/cygtermd/pty.c b/contrib/cygtermd/pty.c index e22cd5f7..6080ecfb 100644 --- a/contrib/cygtermd/pty.c +++ b/contrib/cygtermd/pty.c @@ -2,7 +2,7 @@ * pty.c - pseudo-terminal handling */ -#define _XOPEN_SOURCE +#define _XOPEN_SOURCE 500 #include #include