summaryrefslogtreecommitdiff
path: root/modules/mbchar
diff options
context:
space:
mode:
Diffstat (limited to 'modules/mbchar')
-rw-r--r--modules/mbchar6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/mbchar b/modules/mbchar
index 150fe47569..5f19321699 100644
--- a/modules/mbchar
+++ b/modules/mbchar
@@ -13,10 +13,12 @@ configure.ac:
gl_MBCHAR
Makefile.am:
-lib_SOURCES += mbchar.h mbchar.c
+lib_SOURCES += mbchar.h
Include:
-"mbchar.h"
+#if HAVE_WCHAR_H && HAVE_WCTYPE_H
+#include "mbchar.h"
+#endif
License:
LGPL