$OpenBSD: patch-XawI18n_h,v 1.1 2004/11/03 23:46:11 naddy Exp $ --- XawI18n.h.orig Thu Nov 4 00:32:53 2004 +++ XawI18n.h Thu Nov 4 00:33:46 2004 @@ -29,10 +29,12 @@ in this Software without prior written a #ifdef HAS_WCTYPE_H #include +#ifndef NO_WIDEC_H #include #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