aboutsummaryrefslogtreecommitdiff
path: root/src/Xutil.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Xutil.cc')
-rw-r--r--src/Xutil.cc9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/Xutil.cc b/src/Xutil.cc
index 44fceaf..e179857 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;
@@ -135,5 +142,5 @@ string getWMClassClass(Window win) {
135 return class_name; 142 return class_name;
136} 143}
137 144
138}; // end namespace Xutil 145} // end namespace Xutil
139 146