console/libgnt/gntutils.c

changeset 14428
f9236f51ba8d
parent 14373
609c902d20f5
child 14479
ab5407a042eb
--- a/console/libgnt/gntutils.c	Mon Aug 28 20:43:12 2006 +0000
+++ b/console/libgnt/gntutils.c	Mon Aug 28 23:31:12 2006 +0000
@@ -4,6 +4,10 @@
 #include <string.h>
 #include <wchar.h>
 
+#ifndef __USE_XOPEN
+#define wcwidth(X) 1
+#endif
+
 void gnt_util_get_text_bound(const char *text, int *width, int *height)
 {
 	const char *s = text, *last;

mercurial