$NetBSD: patch-ae,v 1.1 2004/03/25 15:23:40 taca Exp $

--- lib/libbsd/strerror.c.orig	2001-08-02 22:42:43.000000000 +0900
+++ lib/libbsd/strerror.c
@@ -35,6 +35,9 @@
 static char sccsid[] = "@(#)strerror.c	5.6 (Berkeley) 5/4/91";
 #endif /* LIBC_SCCS and not lint */
 
+#include "aiconfig.h"
+#ifndef HAVE_STRERROR
+
 #include <string.h>
 
 char *
@@ -65,3 +68,4 @@ strerror(num)
 	}
 	return(ebuf);
 }
+#endif
