4 #endif /* HAVE_SYS_WAIT_H */
8 #endif /* HAVE_SIGNAL_H */
10 #ifdef HAVE_SYS_UTSNAME_H
11 #include <sys/utsname.h>
12 #endif /* HAVE_SYS_UTSNAME_H */
14 #ifdef HAVE_SYS_TIMES_H
15 #include <sys/times.h>
16 #endif /* HAVE_SYS_TIMES_H */
20 #endif /* HAVE_DIRENT_H */
22 #ifdef HAVE_SYS_STAT_H
24 #endif /* HAVE_SYS_STAT_H */
28 #endif /* HAVE_FCNTL_H */
32 #endif /* HAVE_UNISTD_H */
36 #endif /* HAVE_UTIME_H */
40 #endif /* HAVE_TERMIOS_H */
44 #endif /* HAVE_GRP_H */
48 #endif /* HAVE_PWD_H */
50 #if TIME_WITH_SYS_TIME
51 # include <sys/time.h>
55 # include <sys/time.h>
61 #ifndef _POSIX_VDISABLE
62 #define _POSIX_VDISABLE '\0' /* Just a guess...but it works for Suns */
65 /* For PosixIO only (finaliser for (FILE *) contained in Handles) */
66 extern void freeStdFile PROTO((StgForeignObj));
67 extern void freeFile PROTO((StgForeignObj));
71 char *strDup PROTO((const char *));
72 int setenviron PROTO((char **));
73 int copyenv (STG_NO_ARGS);
74 int _setenv PROTO((char *));
75 int delenv PROTO((char *));
76 int execvpe PROTO((char *, char **, char **));