Commit | Line | Data |
---|---|---|
7d875212 SG |
1 | /* This file is *really* for an RS6000 running AIX... */ |
2 | ||
c5652bff | 3 | #include <stddef.h> |
660f21b7 SC |
4 | #include <fcntl.h> |
5 | #include <errno.h> | |
6 | #include <stdio.h> | |
7 | #include <sys/types.h> | |
8 | #include <sys/stat.h> | |
9 | #include <ctype.h> | |
10 | #include <string.h> | |
11 | #include <sys/file.h> | |
06d0bdef JG |
12 | #include <stdlib.h> /* for malloc() */ |
13 | ||
7d875212 SG |
14 | /* Defining this variable turns on AIX core file and archive support. */ |
15 | #define HOST_AIX | |
16 | ||
c5652bff | 17 | #ifndef O_ACCMODE |
660f21b7 SC |
18 | #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR) |
19 | #endif | |
20 | #define SEEK_SET 0 | |
21 | #define SEEK_CUR 1 | |
22 | ||
a5431adc | 23 | #include "fopen-same.h" |