Commit | Line | Data |
---|---|---|
549d4382 SG |
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 | ||
11 | #if 0 | |
12 | #include <ctype.h> | |
13 | #include <sys/file.h> | |
14 | #endif | |
15 | ||
16 | #if !defined (O_ACCMODE) | |
17 | #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR) | |
18 | #endif | |
19 | ||
20 | #if !defined (SEEK_SET) | |
21 | #define SEEK_SET 0 | |
22 | #define SEEK_CUR 1 | |
23 | #endif | |
24 | ||
a5431adc | 25 | #include "fopen-same.h" |