scummvm random work
[patches.git] / uclinux-sash-cleanup.patch
1 Index: user/sash/reboot.c
2 ===================================================================
3 RCS file: /var/cvs/uClinux-dist/user/sash/reboot.c,v
4 retrieving revision 1.1.1.2
5 diff -u -p -r1.1.1.2 reboot.c
6 --- user/sash/reboot.c 12 Jul 2006 05:03:28 -0000 1.1.1.2
7 +++ user/sash/reboot.c 7 Jan 2007 11:55:38 -0000
8 @@ -12,7 +12,6 @@
9 * AUG/99 -- added delay option to reboot
10 */
11
12 -#include <linux/autoconf.h>
13 #include <config/autoconf.h>
14
15 #include <stdlib.h>
16 Index: user/sash/shutdown.c
17 ===================================================================
18 RCS file: /var/cvs/uClinux-dist/user/sash/shutdown.c,v
19 retrieving revision 1.1.1.2
20 diff -u -p -r1.1.1.2 shutdown.c
21 --- user/sash/shutdown.c 26 Feb 2003 01:54:21 -0000 1.1.1.2
22 +++ user/sash/shutdown.c 7 Jan 2007 11:55:38 -0000
23 @@ -10,9 +10,9 @@
24
25 #include "sash.h"
26
27 -#include <linux/autoconf.h>
28 -
29 -
30 +#include <stdio.h>
31 +#include <stdlib.h>
32 +#include <unistd.h>
33 #include <string.h>
34 #include <fcntl.h>
35 #include <sys/types.h>
36 Index: user/sash/libsash/utils.c
37 ===================================================================
38 RCS file: /var/cvs/uClinux-dist/user/sash/libsash/utils.c,v
39 retrieving revision 1.1.1.4
40 diff -u -p -r1.1.1.4 utils.c
41 --- user/sash/libsash/utils.c 10 Aug 2005 00:15:04 -0000 1.1.1.4
42 +++ user/sash/libsash/utils.c 7 Jan 2007 11:55:38 -0000
43 @@ -8,6 +8,7 @@
44
45 #include "sash.h"
46
47 +#include <unistd.h>
48 #include <sys/types.h>
49 #include <sys/stat.h>
50 #include <dirent.h>