… | |
… | |
27 | * nasty system dependent stuff is contained here, with the program |
27 | * nasty system dependent stuff is contained here, with the program |
28 | * calling these functions. |
28 | * calling these functions. |
29 | */ |
29 | */ |
30 | |
30 | |
31 | |
31 | |
32 | #ifdef WIN32 /* ---win32 exclude/include headers */ |
|
|
33 | # include "process.h" |
|
|
34 | # define pid_t int /* we include it non global, because there is a redefinition in python.h */ |
|
|
35 | #else |
|
|
36 | # include <ctype.h> |
32 | #include <ctype.h> |
37 | # include <sys/stat.h> |
33 | #include <sys/stat.h> |
38 | # include <sys/wait.h> |
34 | #include <sys/wait.h> |
39 | |
35 | |
40 | # include <sys/param.h> |
36 | #include <sys/param.h> |
41 | # include <stdio.h> |
37 | #include <stdio.h> |
42 | |
38 | |
43 | /* Need to pull in the HAVE_... values somehow */ |
39 | /* Need to pull in the HAVE_... values somehow */ |
44 | |
40 | |
45 | /* win32 reminder: always put this in a ifndef win32 block */ |
|
|
46 | # include <autoconf.h> |
41 | #include <autoconf.h> |
47 | #endif |
|
|
48 | |
42 | |
49 | |
43 | |
50 | #ifdef HAVE_STDLIB_H |
44 | #ifdef HAVE_STDLIB_H |
51 | # include <stdlib.h> |
45 | # include <stdlib.h> |
52 | #endif |
46 | #endif |