pkgsrc/x11/multi-gnome-terminal/patches/patch-aa

16 lines
488 B
Text
Raw Normal View History

$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 (?) */