$NetBSD: patch-ac,v 1.1 2003/02/16 23:08:25 abs Exp $ --- texception.h.orig Tue Dec 3 22:00:57 2002 +++ texception.h @@ -57,7 +57,7 @@ class TException { va_end(ap); } #endif -#if !(defined __USE_SVID || defined __USE_BSD || defined __USE_XOPEN_EXTENDED) +#ifndef HAVE_STRDUP static char *strdup(const char *str) { char *buf; vasprintf(&buf, "%s", str); return buf; } #endif };