diff options
Diffstat (limited to 'devel/spiff/patches/patch-ab')
-rw-r--r-- | devel/spiff/patches/patch-ab | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/devel/spiff/patches/patch-ab b/devel/spiff/patches/patch-ab index efc411a500b..b9eef8dbac7 100644 --- a/devel/spiff/patches/patch-ab +++ b/devel/spiff/patches/patch-ab @@ -1,4 +1,4 @@ -$NetBSD: patch-ab,v 1.2 2004/07/04 16:21:59 jschauma Exp $ +$NetBSD: patch-ab,v 1.3 2007/10/05 21:13:59 rillig Exp $ --- misc.h 2001/10/15 10:01:22 1.1 +++ misc.h 2001/10/15 10:02:19 @@ -11,18 +11,20 @@ $NetBSD: patch-ab,v 1.2 2004/07/04 16:21:59 jschauma Exp $ /* ** make sure that if we have a XENIX system, that ** we also treat it as an AT and T derivative -@@ -36,12 +38,14 @@ +@@ -36,12 +38,16 @@ /* ** lines needed to shut up lint */ -+#if !(defined(BSD) && BSD >= 199306) && !defined(__linux__) ++#if defined(__STDC__) ++#include <string.h> ++#else extern char *sprintf(); extern char *strcat(); extern char *strncat(); extern char *strcpy(); extern char *strncpy(); extern char *malloc(); -+#endif /* BSD */ ++#endif extern void Z_complain(); extern void Z_fatal(); |