]>
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> | |
c5652bff | 12 | #ifndef O_ACCMODE |
6697a1a9 BK |
13 | #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR) |
14 | #endif | |
15 | ||
c5652bff | 16 | #ifndef DONTDECLARE_MALLOC |
e49d5379 JG |
17 | extern PTR malloc PARAMS ((unsigned)); |
18 | extern PTR realloc PARAMS ((PTR, unsigned)); | |
6697a1a9 | 19 | #endif |
e49d5379 JG |
20 | extern int abort PARAMS ((void)); |
21 | extern int free PARAMS ((PTR)); | |
22 | extern void bcopy PARAMS ((char*, char*, int)); | |
23 | extern void exit PARAMS ((int)); | |
24 | extern void bzero PARAMS ((char *, int)); | |
6697a1a9 BK |
25 | extern int strtol(); |
26 | #define NO_STDARG 1 | |
27 | ||
6697a1a9 | 28 | #include "fopen-same.h" |