<wctype.h> isn't available on HP-UX 10.20 nor 11.00.

2006-07-09  Albert Chin-A-Young  <[EMAIL PROTECTED]>

        * lib/mbchar.h: Use <wctype.h> only if available, not
        unconditonally.

-- 
albert chin ([EMAIL PROTECTED])

-- snip snip
Index: lib/mbchar.h
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/mbchar.h,v
retrieving revision 1.3
diff -u -p -r1.3 mbchar.h
--- lib/mbchar.h        28 Jun 2006 13:11:03 -0000      1.3
+++ lib/mbchar.h        9 Jul 2006 23:16:12 -0000
@@ -156,7 +156,9 @@
 #include <time.h>
 #include <wchar.h>
 
-#include <wctype.h>
+#if HAVE_WCTYPE_H
+# include <wctype.h>
+#endif
 
 #include "wcwidth.h"
 


Reply via email to