pkgsrc/devel/spiff/patches/patch-ab

28 lines
634 B
Text

$NetBSD: patch-ab,v 1.2 2004/07/04 16:21:59 jschauma 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) && !defined(__linux__)
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();