summaryrefslogtreecommitdiffstats
path: root/xorg/wm/fluxbox/patches/010-fix-includes.patch
blob: d07d47cafa24609652dd05cfb4f83f8f622e07de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
diff --git a/src/ClientPattern.cc b/src/ClientPattern.cc
index 21224cb..b641185 100644
--- a/src/ClientPattern.cc
+++ b/src/ClientPattern.cc
@@ -45,6 +45,7 @@
 #endif
 
 // needed as well for index on some systems (e.g. solaris)
+#include <string.h>
 #include <strings.h>
 
 using std::string;
diff --git a/src/FbTk/Text.cc b/src/FbTk/Text.cc
index 8c836cc..9f4b3eb 100644
--- a/src/FbTk/Text.cc
+++ b/src/FbTk/Text.cc
@@ -26,6 +26,7 @@
 #include "Font.hh"
 #include "Theme.hh"
 
+#include <string.h>
 #include <strings.h>
 
 namespace FbTk {
diff --git a/src/main.cc b/src/main.cc
index afbf43e..3c3d17c 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -45,6 +45,8 @@
   #include <stdlib.h>
 #endif
 
+#include <string.h>
+
 #include <iostream>
 #include <fstream>
 #include <stdexcept>