summaryrefslogtreecommitdiff
path: root/parallel/sge/patches/patch-bi
blob: 06575f79db1c0e8db4838cd8e98d957088a09fbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-bi,v 1.1 2005/11/26 21:19:20 markd Exp $

--- source/3rdparty/qtcsh/tc.sig.h.orig	2001-07-18 23:06:05.000000000 +1200
+++ source/3rdparty/qtcsh/tc.sig.h
@@ -61,7 +61,7 @@
 /*
  * sigvec is not the same everywhere
  */
-# if defined(_SEQUENT_) || (defined(_POSIX_SOURCE) && !defined(hpux))
+# if defined(_SEQUENT_) || (defined(_POSIX_SOURCE) && !defined(hpux)) || defined(__NetBSD__)
 #  define HAVE_SIGVEC
 #  define mysigvec(a, b, c)	sigaction(a, b, c)
 typedef struct sigaction sigvec_t;
@@ -75,7 +75,7 @@ typedef struct sigaction sigvec_t;
 #  endif
 #  define sv_handler sa_handler
 #  define sv_flags sa_flags
-# endif /* _SEQUENT || (_POSIX_SOURCE && !hpux) */
+# endif /* _SEQUENT || (_POSIX_SOURCE && !hpux) || __NetBSD__ */
 
 # ifdef hpux
 #  define HAVE_SIGVEC