summaryrefslogtreecommitdiff
path: root/devel/spiff/patches/patch-ab
blob: c6220d8ded5b4290aea502125786bfbaa2ab8ee3 (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
28
$NetBSD: patch-ab,v 1.1.1.1 2001/10/15 10:12:08 agc Exp $

--- misc.h	2001/10/15 10:01:22	1.1
+++ misc.h	2001/10/15 10:02:19
@@ -8,6 +8,8 @@
 
 #ifndef Z_INCLUDED
 
+#include <sys/param.h>
+
 /*
 **	make sure that if we have a XENIX system, that
 **	we also treat it as an AT and T derivative
@@ -36,12 +38,14 @@
 /*
 **	lines needed to shut up lint
 */
+#if !(defined(BSD) && BSD >= 199306)
 extern char *sprintf();
 extern char *strcat();
 extern char *strncat();
 extern char *strcpy();
 extern char *strncpy();
 extern char *malloc();
+#endif /* BSD */
 
 extern void Z_complain();
 extern void Z_fatal();