--- lib/Util.hh.orig Thu May 19 21:58:48 2011 +++ lib/Util.hh Thu May 19 21:57:34 2011 @@ -94,7 +94,7 @@ namespace bt { std::string tolower(const std::string &string); -#ifdef _XUTIL_H_ +#if defined(_XUTIL_H_) || defined(_X11_XUTIL_H_) std::string textPropertyToString(::Display *display, ::XTextProperty& text_prop); #endif