1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-03-23 15:09:24 -05:00

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.
This commit is contained in:
Simon Tatham 2016-09-19 14:17:26 +01:00
parent ccf25c0849
commit 24da181a01

View File

@ -2,7 +2,7 @@
* pty.c - pseudo-terminal handling * pty.c - pseudo-terminal handling
*/ */
#define _XOPEN_SOURCE #define _XOPEN_SOURCE 500
#include <features.h> #include <features.h>
#include <stdio.h> #include <stdio.h>