aboutsummaryrefslogtreecommitdiff
path: root/games/crack-attack/includes.patch
blob: 46627cb0684d995c23a7449236b0733116c5a417 (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
38
39
40
41
42
43
44
45
46
47
48
diff --git a/src/ActionRecorder.cxx b/src/ActionRecorder.cxx
index f68e674..3312523 100644
--- a/src/ActionRecorder.cxx
+++ b/src/ActionRecorder.cxx
@@ -21,6 +21,7 @@
  */
 
 #include <fstream>
+#include <cstring>
 #include "TextureLoader.h"
 
 using namespace std;
diff --git a/src/Attack.cxx b/src/Attack.cxx
index 594ef83..1b58f6a 100644
--- a/src/Attack.cxx
+++ b/src/Attack.cxx
@@ -27,6 +27,7 @@
 #include <cstring>
 #include <cctype>
 #include <sys/stat.h>
+#include <unistd.h>
 
 #ifndef _WIN32
 #  include <pwd.h>
diff --git a/src/Game.cxx b/src/Game.cxx
index be77c38..a239e65 100644
--- a/src/Game.cxx
+++ b/src/Game.cxx
@@ -27,6 +27,7 @@
  */
 
 #include <GL/glut.h>
+#include <unistd.h>
 
 #include "glext.h"
 
diff --git a/src/TextureLoader.h b/src/TextureLoader.h
index ae3bb8d..024fb0a 100644
--- a/src/TextureLoader.h
+++ b/src/TextureLoader.h
@@ -28,6 +28,7 @@
 #define TEXTURELOADER_H
 
 #include <GL/glut.h>
+#include <cstring>
 
 #include "glext.h"
 #include "sstream.h"