summaryrefslogtreecommitdiff
path: root/misc/root/patches/patch-ae
blob: b98048d451499bf574c5c531c369d08d12745552 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
$NetBSD: patch-ae,v 1.1.1.1 1999/11/17 16:17:03 drochner Exp $
--- src/ROOTD_daemon.cxx.orig	Sat Nov  6 22:42:10 1999
+++ src/ROOTD_daemon.cxx	Sat Nov  6 22:44:40 1999
@@ -41,13 +41,13 @@
 #define USE_SIGCHLD
 #endif
 
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__) || defined(__NetBSD__)
 #define USE_SIGCHLD
 #define	SIGCLD SIGCHLD
 #endif
 
 #if defined(__linux) || defined(__hpux) || defined(__sun) || defined(__sgi) || \
-    defined(_AIX) || defined(__FreeBSD__)
+    defined(_AIX) || defined(__FreeBSD__) || defined(__NetBSD__)
 #define USE_SETSID
 #endif
 
@@ -61,7 +61,7 @@
 static void SigChild(int)
 {
    int         pid;
-#if defined(__hpux) || defined(__FreeBSD__)
+#if defined(__hpux) || defined(__FreeBSD__) || defined(__NetBSD__)
    int status;
 #else
    union wait  status;