wok view blackbox/stuff/textpropertytostring-unconditional.patch @ rev 21989

fasm: build fasmarm
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Oct 15 18:06:41 2019 +0200 (2019-10-15)
parents
children
line source
1 Description: Declare bt::textPropertyToString unconditionally.
2 Author: Jakub Wilk <jwilk@debian.org>
3 Forwarded: no
4 Bug-Debian: http://bugs.debian.org/614468
5 Last-Update: 2011-03-12
7 --- a/lib/Util.hh
8 +++ b/lib/Util.hh
9 @@ -25,6 +25,8 @@
10 #ifndef __Util_hh
11 #define __Util_hh
13 +#include <X11/Xutil.h>
14 +
15 #include <limits.h>
16 #include <string>
18 @@ -94,10 +96,8 @@
20 std::string tolower(const std::string &string);
22 -#ifdef _XUTIL_H_
23 std::string textPropertyToString(::Display *display,
24 ::XTextProperty& text_prop);
25 -#endif
27 } // namespace bt