openbsd-ports/x11/olvwm/patches/patch-20
1999-07-17 10:55:32 +00:00

34 lines
563 B
Plaintext

--- olwm.c.orig Thu Jan 13 22:36:12 1994
+++ ./olwm.c Fri Jul 16 21:49:04 1999
@@ -56,6 +56,9 @@
typedef void (*VoidFunc)();
+#ifdef __OpenBSD__
+#define MAXPID 30000
+#endif
/*
* Globals
@@ -182,7 +185,7 @@
/*
* main -- parse arguments, perform initialization, call event-loop
*/
-void
+int
main(argc, argv)
int argc;
char **argv;
@@ -679,7 +682,11 @@
#else
int oldmask;
int pid;
+#if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__)
union wait status;
+#else
+ int status;
+#endif
#endif
if (!deadChildren)