From: <sa...@us...> - 2006-09-02 07:38:29
|
Revision: 17126 http://svn.sourceforge.net/gaim/?rev=17126&view=rev Author: sadrul Date: 2006-09-02 00:38:08 -0700 (Sat, 02 Sep 2006) Log Message: ----------- how about now? Modified Paths: -------------- trunk/console/libgnt/gntutils.c Modified: trunk/console/libgnt/gntutils.c =================================================================== --- trunk/console/libgnt/gntutils.c 2006-09-02 06:24:50 UTC (rev 17125) +++ trunk/console/libgnt/gntutils.c 2006-09-02 07:38:08 UTC (rev 17126) @@ -2,14 +2,17 @@ #include <stdlib.h> #include <string.h> -#include <wchar.h> #include "config.h" #ifndef HAVE_WCWIDTH #define wcwidth(X) 1 +#else +#define __USE_XOPEN #endif +#include <wchar.h> + void gnt_util_get_text_bound(const char *text, int *width, int *height) { const char *s = text, *last; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |