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