diff options
author | Bernhard Walle <Bernhard.Walle@gmx.de> | 2008-03-25 19:31:47 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2008-03-25 19:59:52 (GMT) |
commit | d300c62ba090a3bfac65a2c8dcc7add1b4cf45b4 (patch) | |
tree | 83da0066b698e085d4a63f2a288d0041af4a8d3d /src/Xutil.cc | |
parent | 173682f8dec2f2255b89c6412c634dcbe60a6b99 (diff) | |
download | fluxbox_pavel-d300c62ba090a3bfac65a2c8dcc7add1b4cf45b4.zip fluxbox_pavel-d300c62ba090a3bfac65a2c8dcc7add1b4cf45b4.tar.bz2 |
Fix build with g++ 4.3
This change fixes the build for g++ 4.3. Build verified on openSUSE Factory.
Only missing includes and using directives are added.
Diffstat (limited to 'src/Xutil.cc')
-rw-r--r-- | src/Xutil.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Xutil.cc b/src/Xutil.cc index 44fceaf..a1744c4 100644 --- a/src/Xutil.cc +++ b/src/Xutil.cc | |||
@@ -29,7 +29,14 @@ | |||
29 | #include <X11/Xatom.h> | 29 | #include <X11/Xatom.h> |
30 | #include <iostream> | 30 | #include <iostream> |
31 | 31 | ||
32 | #ifdef HAVE_CSTRING | ||
33 | #include <cstring> | ||
34 | #else | ||
35 | #include <string.h> | ||
36 | #endif | ||
37 | |||
32 | using std::string; | 38 | using std::string; |
39 | using std::strlen; | ||
33 | 40 | ||
34 | #ifdef DEBUG | 41 | #ifdef DEBUG |
35 | using std::cerr; | 42 | using std::cerr; |