summaryrefslogtreecommitdiff
path: root/x11/xview-lib/patches/patch-cr
blob: feefcf069dbf5ae9300cb27ee93f6a67a500e079 (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
$NetBSD: patch-cr,v 1.1 2001/12/20 09:20:04 tron Exp $

--- lib/libxview/wmgr/wmgr_menu.c.orig	Tue Jun 29 07:17:24 1993
+++ lib/libxview/wmgr/wmgr_menu.c	Thu Dec 20 10:09:53 2001
@@ -10,16 +10,22 @@
  *	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>