fix build with CITRUS; from XF4 XawI18n.h

This commit is contained in:
naddy 2004-11-03 23:46:11 +00:00
parent 516467afb7
commit 30b0ada6a9

View File

@ -0,0 +1,16 @@
$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 <wctype.h>
+#ifndef NO_WIDEC_H
#include <widec.h>
#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