summaryrefslogtreecommitdiff
path: root/devel/cscope/patches/patch-ac
blob: f1522abba359df5f0f00026ca4697865534f9295 (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-ac,v 1.3 2000/05/14 00:18:56 hubertf Exp $

--- common/exec.c.orig	Tue Apr 18 03:39:45 2000
+++ common/exec.c	Sun May 14 01:08:16 2000
@@ -38,5 +38,9 @@
 #include "global.h"
 #include <stdarg.h>
+#ifdef __NetBSD__
+#include <sys/wait.h>
+#else
 #include <wait.h>
+#endif
 #include <curses.h>
 
@@ -47,5 +51,7 @@
 static	SIGTYPE	(*oldsigstp)();
 
+#ifndef __NetBSD__
 typedef int	pid_t;
+#endif
 static	int	join(), myexecvp();
 static	pid_t	myfork();