$NetBSD: patch-af,v 1.1 2001/08/23 04:19:59 jlam Exp $

--- XawI18n.h.orig	Wed Apr  5 19:33:03 1995
+++ XawI18n.h
@@ -29,10 +29,14 @@
 
 #ifdef HAS_WCTYPE_H
 #include <wctype.h>
+#ifdef HAS_WIDEC_H
 #include <widec.h>
+#endif
+#if !defined(__NetBSD__)
 #define wcslen(c) wslen(c)
 #define wcscpy(d,s) wscpy(d,s)
 #define wcsncpy(d,s,l) wsncpy(d,s,l)
+#endif
 #endif
 
 #ifdef HAS_WCHAR_H
