mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 09:48:00 -04:00
28 lines
581 B
Plaintext
28 lines
581 B
Plaintext
$NetBSD: patch-cr,v 1.2 2009/12/10 20:35:57 abs Exp $
|
|
|
|
--- lib/libxview/wmgr/wmgr_menu.c.orig 1993-06-29 05:17:24.000000000 +0000
|
|
+++ lib/libxview/wmgr/wmgr_menu.c
|
|
@@ -10,16 +10,22 @@ static char sccsid[] = "@(#)wmgr_men
|
|
* file for terms of the license.
|
|
*/
|
|
|
|
+#include <sys/param.h>
|
|
#include <sys/types.h>
|
|
#include <stdio.h>
|
|
#include <ctype.h>
|
|
#include <string.h>
|
|
+
|
|
+#if defined(BSD) && (BSD >= 199306)
|
|
+#include <unistd.h>
|
|
+#else
|
|
#ifdef sparc
|
|
#ifdef SVR4
|
|
#include <unistd.h>
|
|
#else
|
|
#include <vfork.h>
|
|
#endif SVR4
|
|
+#endif sparc
|
|
#endif
|
|
|
|
#include <xview/frame.h>
|