summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xutf8/utf8Input.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xutf8/utf8Input.c b/src/xutf8/utf8Input.c
index ee2c229e5..dc7ed3388 100644
--- a/src/xutf8/utf8Input.c
+++ b/src/xutf8/utf8Input.c
@@ -407,6 +407,7 @@ XConvertEucToUtf8(const char* locale,
return len;
}
+#ifndef X_HAVE_UTF8_STRING
int
XUtf8LookupString(XIC ic,
XKeyPressedEvent* event,
@@ -447,6 +448,7 @@ XUtf8LookupString(XIC ic,
}
return len;
}
+#endif /* X11 has utf-8 */
#endif /* X11 only */