From b0d3cceb99e3d3f1ac467839490496a29fc1938a Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Mon, 25 Apr 2005 17:21:08 +0000 Subject: [PATCH] uxpty.c uses non-X/Open facilities (notably strsignal()), so don't define _XOPEN_SOURCE. We do still need _GNU_SOURCE in order to get grantpt() on GNU systems. This allows uxpty.c to compile on NetBSD. [originally from svn r5675] --- unix/uxpty.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/unix/uxpty.c b/unix/uxpty.c index 37a017d3..8c25f932 100644 --- a/unix/uxpty.c +++ b/unix/uxpty.c @@ -2,8 +2,6 @@ * Pseudo-tty backend for pterm. */ -#define _XOPEN_SOURCE 600 -#define _XOPEN_SOURCE_EXTENDED #define _GNU_SOURCE #include