summaryrefslogtreecommitdiff
path: root/parallel/sge/patches/patch-bh
blob: d0fdfa7530c172ef756fdae29d15aff48b5901e6 (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-bh,v 1.1 2004/06/15 00:26:07 dmcmahill Exp $

--- source/daemons/common/pdc.c.orig	Wed Mar  3 13:09:47 2004
+++ source/daemons/common/pdc.c
@@ -117,7 +117,7 @@ int main(int argc,char *argv[])
 #include "sge_stat.h"
 #endif
 
-#if defined(LINUX) || defined(ALPHA) || defined(IRIX6) || defined(SOLARIS) || defined(FREEBSD) || defined(DARWIN)
+#if defined(LINUX) || defined(ALPHA) || defined(IRIX6) || defined(SOLARIS) || defined(FREEBSD) || defined (NETBSD) || defined(DARWIN)
 #include "sge_nprocs.h"
 #endif
 
@@ -2082,7 +2082,7 @@ int psStartCollector(void)
    pagesize = getpagesize();
 
    /* retrieve static parameters */
-#if defined(LINUX) || defined(ALINUX) || defined(IRIX6) || defined(SOLARIS) || defined(FREEBSD) || defined(DARWIN)
+#if defined(LINUX) || defined(ALINUX) || defined(IRIX6) || defined(SOLARIS) || defined(FREEBSD) || defined (NETBSD) || defined(DARWIN)
    ncpus = sge_nprocs();
 #elif defined(ALPHA)
    {