blob: 4435749e32a7b7abcba30a1c61c342fa6ff1e864 (
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.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>
|