summaryrefslogtreecommitdiff
blob: aa3b434e151fde89d0c65114a20aa5f865c731ec (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
--- a/card.cpp
+++ b/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>
--- a/freecell.cpp
+++ b/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>
--- a/option.cpp
+++ b/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"
--- a/subwindows.cpp
+++ b/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"
--- a/widget/widget.h
+++ b/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>