aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBernhard Walle <Bernhard.Walle@gmx.de>2008-03-25 19:31:47 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2008-03-25 19:59:52 (GMT)
commitd300c62ba090a3bfac65a2c8dcc7add1b4cf45b4 (patch)
tree83da0066b698e085d4a63f2a288d0041af4a8d3d /src
parent173682f8dec2f2255b89c6412c634dcbe60a6b99 (diff)
downloadfluxbox_paul-d300c62ba090a3bfac65a2c8dcc7add1b4cf45b4.zip
fluxbox_paul-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')
-rw-r--r--src/FocusableList.cc6
-rw-r--r--src/FocusableList.hh1
-rw-r--r--src/Layer.hh6
-rw-r--r--src/Xutil.cc7
4 files changed, 20 insertions, 0 deletions
diff --git a/src/FocusableList.cc b/src/FocusableList.cc
index 258a43b..70f415e 100644
--- a/src/FocusableList.cc
+++ b/src/FocusableList.cc
@@ -31,6 +31,12 @@
31 31
32#include <vector> 32#include <vector>
33 33
34#ifdef HAVE_CSTRING
35 #include <cstring>
36#else
37 #include <string.h>
38#endif
39
34using std::string; 40using std::string;
35using std::vector; 41using std::vector;
36 42
diff --git a/src/FocusableList.hh b/src/FocusableList.hh
index 91eb6a4..d46fe48 100644
--- a/src/FocusableList.hh
+++ b/src/FocusableList.hh
@@ -30,6 +30,7 @@
30 30
31#include <list> 31#include <list>
32#include <string> 32#include <string>
33#include <memory>
33 34
34class BScreen; 35class BScreen;
35class Focusable; 36class Focusable;
diff --git a/src/Layer.hh b/src/Layer.hh
index bbda950..58fb5b6 100644
--- a/src/Layer.hh
+++ b/src/Layer.hh
@@ -25,6 +25,12 @@
25#include <string> 25#include <string>
26#include <cstdio> 26#include <cstdio>
27 27
28#ifdef HAVE_CSTRING
29 #include <cstring>
30#else
31 #include <string.h>
32#endif
33
28using std::string; 34using std::string;
29 35
30/** 36/**
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
32using std::string; 38using std::string;
39using std::strlen;
33 40
34#ifdef DEBUG 41#ifdef DEBUG
35using std::cerr; 42using std::cerr;