Commit | Line | Data |
---|---|---|
c5652bff | 1 | #include <stddef.h> |
5af19052 SC |
2 | #include <fcntl.h> |
3 | #include <errno.h> | |
4 | #include <stdio.h> | |
5 | #include <sys/types.h> | |
6 | #include <sys/stat.h> | |
7 | #include <ctype.h> | |
8 | #include <string.h> | |
9 | #include <sys/file.h> | |
e5932011 | 10 | #include <stdlib.h> |
c5652bff | 11 | #ifndef O_ACCMODE |
5af19052 SC |
12 | #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR) |
13 | #endif | |
14 | #define SEEK_SET 0 | |
15 | #define SEEK_CUR 1 | |
16 | ||
5af19052 SC |
17 | #define NO_FCNTL |
18 | ||
a5431adc | 19 | #include "fopen-bin.h" |