123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- --- 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>
-
|