summaryrefslogtreecommitdiff
path: root/x11/multi-gnome-terminal/patches/patch-aa
blob: 15f91b4a7705e5e6a2e54d22f3888e2f89b21bf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-aa,v 1.3 2003/01/10 12:41:12 jmmv Exp $

--- gnome-terminal/subshell-includes.h.orig	Thu May  2 02:23:54 2002
+++ gnome-terminal/subshell-includes.h
@@ -3,8 +3,10 @@
 
 #include <stdio.h>      
 #include <fcntl.h>	/* for close-on-exec stuff	      */
+#if defined(irix) || defined (__irix__) || defined(sgi) || defined (__sgi__)
 #ifndef _XOPEN_SOURCE
 #define _XOPEN_SOURCE 1
+#endif
 #endif
 #define __EXTENSIONS__ 1	/* needed for winsize struct
 				   on Solaris (?) */