From 140745a89b31d4872429c079b281d89d94ab03ed Mon Sep 17 00:00:00 2001 From: ben Date: Thu, 30 Dec 2004 17:29:54 +0000 Subject: [PATCH] If we're going to define _XOPEN_SOURCE, we should at least define it to a version that includes putenv(). Make it 600 (the current one) for good measure. git-svn-id: svn://svn.tartarus.org/sgt/putty@5048 cda61777-01e9-0310-a592-d414129be87e --- unix/pty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unix/pty.c b/unix/pty.c index d99d4e50..19ec8d71 100644 --- a/unix/pty.c +++ b/unix/pty.c @@ -11,7 +11,7 @@ * a null pointer and ignored everywhere. */ -#define _XOPEN_SOURCE +#define _XOPEN_SOURCE 600 #define _XOPEN_SOURCE_EXTENDED #define _GNU_SOURCE -- 2.11.0