Commit | Line | Data |
---|---|---|
6697a1a9 BK |
1 | #include <unistd.h> |
2 | #include <fcntl.h> | |
3 | #include <errno.h> | |
4 | #include <stdio.h> | |
5 | #include <sys/types.h> | |
6 | #include <sys/stat.h> | |
7 | #include <time.h> | |
8 | #include <ctype.h> | |
9 | #include <string.h> | |
10 | #include <sys/file.h> | |
11 | #ifndef O_ACCMODE | |
12 | #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR) | |
13 | #endif | |
14 | ||
15 | #ifndef DONTDECLARE_MALLOC | |
16 | extern PTR EXFUN(malloc,(unsigned)); | |
17 | extern PTR EXFUN(realloc, (PTR, unsigned)); | |
18 | #endif | |
19 | extern int EXFUN(abort,(void)); | |
20 | extern int EXFUN(free,(PTR)); | |
21 | extern void EXFUN(bcopy,(char*,char*,int)); | |
22 | extern void EXFUN(exit,(int)); | |
23 | extern void EXFUN(bzero,(char *, int)); | |
24 | extern int strtol(); | |
25 | #define NO_STDARG 1 | |
26 | ||
6697a1a9 | 27 | #include "fopen-same.h" |