blob: 030692c561e52b066601345ebbd2cc0c6369211d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
$NetBSD: patch-ah,v 1.2 2005/04/13 16:45:46 rillig Exp $
--- unix/uxpty.c.orig 2005-04-06 23:16:28.000000000 +0200
+++ unix/uxpty.c 2005-04-06 23:28:38.000000000 +0200
@@ -2,8 +2,10 @@
* Pseudo-tty backend for pterm.
*/
-#define _XOPEN_SOURCE 600
-#define _XOPEN_SOURCE_EXTENDED
+/* Don't use _XOPEN_SOURCE/_XOPEN_SOURCE_EXTENDED here, because
+ * we are using strsignal() (which is not defined in POSIX).
+ */
+
#define _GNU_SOURCE
#include <stdio.h>
|