$NetBSD: patch-ag,v 1.2 2007/10/02 20:23:08 heinz Exp $

--- classes/dict.c.orig	1994-10-05 06:20:48.000000000 +0100
+++ classes/dict.c
@@ -14,8 +14,13 @@
  */
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <strings.h>
+#ifdef HAVE_STRERROR
+#include <string.h>
+#else
 extern char*	strdup();
+#endif
 extern int	strcasecmp();
 
 #define _CLASS_Dict_PRIVATE_
