1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/x11-toolkits/xview/files/patch-clients+olwm+olwm.c
Pav Lucistnik bbff923854 - Redo this port. Now it compiles on -current again.
PR:		ports/58176
Submitted by:	Pedro F. Giffuni <giffunip@yahoo.com>
2003-12-13 23:38:21 +00:00

29 lines
522 B
C

--- clients/olwm/olwm.c.orig Fri Oct 17 18:23:53 2003
+++ clients/olwm/olwm.c Fri Oct 17 18:48:37 2003
@@ -23,6 +23,10 @@
#include <sys/stat.h>
#include <sys/wait.h>
+#ifndef MAXPID
+#define MAXPID 30000
+#endif
+
#include <X11/Xos.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
@@ -622,9 +626,13 @@
void
ReapChildren()
{
-#ifdef SYSV
+#if defined(SYSV)
pid_t pid;
int status;
+#elif (defined(BSD) && (BSD >= 199103))
+ pid_t pid;
+ int status;
+ int oldmask;
#else
int oldmask;
int pid;