summaryrefslogtreecommitdiff
blob: dec75d9127d8d8bf953fdd9c325a6f290b559f8b (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
49
50
51
--- comptbl.c
+++ comptbl.c
@@ -28,6 +28,8 @@
 #include <stdio.h>
 #include <string.h>
 #include <unistd.h>
+#include <stdlib.h>
+#include <string.h>
 
 #define ALLOC_SIZE 0x48d801     /* approximately 4.69MB */
 #define TBL_BASE ((unsigned char *)0x10000000)
--- gamegenie.c
+++ gamegenie.c
@@ -12,6 +12,7 @@
 
 #include <ctype.h>
 #include <stdio.h>
+#include <string.h>
 
 #include "gamegenie.h"
 
--- io.c
+++ io.c
@@ -21,6 +21,7 @@
 #endif /* HAVE_FEATURES_H */
 
 #include <stdio.h>
+#include <string.h>
 
 #include "consts.h"
 #include "globals.h"
--- mapper.c
+++ mapper.c
@@ -13,6 +13,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 
 #include "consts.h"
 #include "globals.h"
--- sound.c
+++ sound.c
@@ -116,6 +116,7 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
+#include <string.h>
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"