diff --git a/src/osdep/osdep.c b/src/osdep/osdep.c index 7aab5b997..80a5fa3e7 100644 --- a/src/osdep/osdep.c +++ b/src/osdep/osdep.c @@ -490,7 +490,6 @@ catch_x_error(void) x_error = 1; return 0; } -#endif /** Convert a STRING XTextProperty to a string in the specified codepage. * @@ -539,6 +538,7 @@ xprop_to_string(Display *display, const XTextProperty *text_prop, int to_cp) XFreeStringList(list); return ret; } +#endif /* HAVE_X11 */ unsigned char * get_window_title(int codepage)