$NetBSD: patch-ah,v 1.2 2007/10/19 13:33:25 rillig Exp $

--- utils.h.orig	1997-05-21 00:13:22.000000000 +0000
+++ utils.h	2007-10-17 21:47:24.000000000 +0000
@@ -59,6 +59,8 @@ void *tmalloc (size_t size);
  *   allocated.
  */
 
+#include <string.h>
+#define strndup tosha_strndup
 char *strndup (char *src, int num);
 /*
  *   Like strdup(), but limits the string length to at most
