wok-6.x view blackbox/stuff/textpropertytostring-unconditional.patch @ rev 13162

testdisk: add ntfs support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 29 09:55:47 2012 +0200 (2012-07-29)
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