]>
Commit | Line | Data |
---|---|---|
7ebc1d97 | 1 | --- oo_1.0.2_src/dmake/unix/runargv.c.fix-errno 2003-01-07 09:32:42.000000000 -0500 |
2 | +++ oo_1.0.2_src/dmake/unix/runargv.c 2003-01-24 15:38:58.000000000 -0500 | |
3 | @@ -29,6 +29,9 @@ | |
4 | #if defined(__CYGWIN__) | |
5 | #include <errno.h> | |
6 | #endif | |
7 | +#if HAVE_ERRNO_H | |
8 | +#include <errno.h> | |
9 | +#endif | |
10 | ||
11 | typedef struct prp { | |
12 | char *prp_cmd; | |
13 | @@ -71,7 +74,9 @@ int shell; | |
14 | char *cmd; | |
15 | { | |
16 | #if !defined(__CYGWIN__) | |
17 | +#if !HAVE_ERRNO_H | |
18 | extern int errno; | |
19 | +#endif | |
20 | #ifndef __APPLE__ | |
21 | #ifdef arm32 | |
22 | extern const char * const sys_errlist[]; | |
23 | --- oo_1.0.2_src/unzip/inc/unzip.h.fix-errno 2003-01-25 01:13:19.000000000 -0500 | |
24 | +++ oo_1.0.2_src/unzip/inc/unzip.h 2003-01-25 01:22:43.000000000 -0500 | |
25 | @@ -134,8 +134,8 @@ | |
26 | #endif | |
27 | #include <ctype.h> /* skip for VMS, to use tolower() function? */ | |
28 | #include <errno.h> /* used in mapname() */ | |
29 | -#ifndef NO_ERRNO | |
30 | -# define DECLARE_ERRNO /* everybody except MSC 6.0, SCO cc, Watcom C/386 */ | |
31 | +#if !defined(NO_ERRNO) && !defined(__GLIBC__) | |
32 | +# define DECLARE_ERRNO /* everybody except MSC 6.0, SCO cc, Watcom C/386, glibc systems */ | |
33 | #endif /* !NO_ERRNO */ | |
34 | #ifdef VMS | |
35 | # include <types.h> /* (placed up here instead of in VMS section below */ |