$NetBSD: patch-ab,v 1.1 2007/09/18 20:30:01 adrianp Exp $ --- str.c.orig 2007-07-26 09:00:31.000000000 +0100 +++ str.c @@ -18,7 +18,7 @@ #include "mem.h" #include "utils.h" -#ifndef strndup +#ifndef HAVE_STRNDUP char *strndup(char *in, int size) { char *out = mymalloc(size + 1, "strndup");