summaryrefslogtreecommitdiff
blob: cf7e899d28568d18a70590ce79cecf5bb68e065c (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
52
53
54
55
56
57
58
59
--- card.cpp
+++ card.cpp
@@ -1,5 +1,6 @@
+#include <cstdlib>
 #include <cstdio>
-#include <math.h>
+#include <cmath>
 #ifdef SHAPE
 #include <X11/Xlib.h>
 #include <X11/Xutil.h>
--- freecell.cpp
+++ freecell.cpp
@@ -1,6 +1,7 @@
 #include <dirent.h>
 #include <fcntl.h>
-#include <stdlib.h>
+#include <cstdlib>
+#include <cstring>
 #include <sys/stat.h>
 #include <sys/time.h>
 #include <sys/types.h>
--- option.cpp
+++ option.cpp
@@ -3,7 +3,9 @@
 #include <fcntl.h>
 #include <dirent.h>
 #include <unistd.h>
-#include <stdio.h>
+#include <cstdlib>
+#include <cstdio>
+#include <cstring>
 
 #include "general.h"
 #include "option.h"
--- subwindows.cpp
+++ subwindows.cpp
@@ -3,7 +3,8 @@
 #include <fcntl.h>
 #include <dirent.h>
 #include <unistd.h>
-#include <stdio.h>
+#include <cstdlib>
+#include <cstdio>
 
 #include "general.h"
 #include "subwindows.h"
--- widget/widget.h
+++ widget/widget.h
@@ -4,7 +4,9 @@
 #include <X11/Xlib.h>
 #include <X11/Xutil.h>
 #include <X11/keysym.h>
-#include <stdio.h>
+#include <cstdlib>
+#include <cstdio>
+#include <cstring>
 #include <vector>
 #include <string>