$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
@@ -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,16 @@
 /*
 **	lines needed to shut up lint
 */
+#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
 
 extern void Z_complain();
 extern void Z_fatal();
