Commit | Line | Data |
---|---|---|
fbad27e8 RP |
1 | #include <stdio.h> |
2 | #include <unistd.h> | |
3 | #include <fcntl.h> | |
4 | #include <string.h> | |
5 | #include <errno.h> | |
6 | #include <stdio.h> | |
7 | #include <sys/types.h> | |
8 | #include <sys/stat.h> | |
9 | #include <malloc.h> | |
10 | ||
8171711b SG |
11 | #define HOST_IRIX4 |
12 | ||
fbad27e8 RP |
13 | #if 0 |
14 | #include <ctype.h> | |
15 | #include <sys/file.h> | |
16 | #endif | |
17 | ||
18 | #if !defined (O_ACCMODE) | |
19 | #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR) | |
20 | #endif | |
21 | ||
22 | #if !defined (SEEK_SET) | |
23 | #define SEEK_SET 0 | |
24 | #define SEEK_CUR 1 | |
25 | #endif | |
26 | ||
fbad27e8 | 27 | #include "fopen-same.h" |