1 diff -ruN make-3.81/arscan.c make-3.81.aros/arscan.c
2 --- make-3.81/arscan.c 2006-02-11 23:16:04.000000000 +0100
3 +++ make-3.81.aros/arscan.c 2006-04-01 08:40:00.000000000 +0200
9 +# if !defined(__BEOS__) && !defined(__AROS__)
12 /* BeOS 5 doesn't have <ar.h> but has archives in the same format
13 diff -ruN make-3.81/glob/fnmatch.h make-3.81.aros/glob/fnmatch.h
14 --- make-3.81/glob/fnmatch.h 2006-02-11 21:00:39.000000000 +0100
15 +++ make-3.81.aros/glob/fnmatch.h 2006-04-01 08:40:00.000000000 +0200
17 non-ANSI C where `const' is problematical. */
18 #endif /* C++ or ANSI C. */
24 # if (defined __STDC__ && __STDC__) || defined __cplusplus || defined WINDOWS32
25 # define __const const
26 diff -ruN make-3.81/glob/glob.h make-3.81.aros/glob/glob.h
27 --- make-3.81/glob/glob.h 2006-02-11 21:00:39.000000000 +0100
28 +++ make-3.81.aros/glob/glob.h 2006-04-01 08:40:00.000000000 +0200
31 # define __P(protos) protos
32 # define __PMT(protos) protos
33 -# if !defined __GNUC__ || __GNUC__ < 2
34 +# if !defined __GNUC__ || __GNUC__ < 2 || defined __AROS__
36 # define __const const
38 diff -ruN make-3.81/main.c make-3.81.aros/main.c
39 --- make-3.81/main.c 2006-03-20 03:36:37.000000000 +0100
40 +++ make-3.81.aros/main.c 2012-02-01 19:33:29.115929745 +0100
46 +#if defined(_AMIGA) || defined(__AROS__)
48 main (int argc, char **argv)
52 no_default_sh_exe = 1;
55 + extern char **environ;
56 + char **envp = environ;
60 /* Get rid of any avoidable limit on stack size. */