Mon Jan 3 10:59:28 1994 Stan Shebs (shebs@andros.cygnus.com)
[platform/upstream/binutils.git] / bfd / hosts / apollov68.h
1 #include <ansidecl.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 <utime.h>
8 #include <ctype.h>
9 #include <string.h>
10 #ifndef O_ACCMODE
11 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
12 #endif
13 #define SEEK_SET 0
14 #define SEEK_CUR 1
15
16 #ifndef MAXPATHLEN
17 #define MAXPATHLEN      1024
18 #endif  /* MAXPATHLEN */
19
20 #define POSIX_UTIME
21
22 /* Some things that need to be defined in order to make code written for
23    BSD Unix compile under System V Unix.  */
24
25 #include <memory.h>
26 #define bcmp(b1,b2,len)         memcmp(b1,b2,len)
27 #define bcopy(src,dst,len)      memcpy(dst,src,len)
28 #define bzero(s,n)              memset(s,0,n)
29
30 #include <string.h>
31
32 #ifndef DONTDECLARE_MALLOC
33 extern PTR  malloc      PARAMS ((unsigned));
34 extern PTR  realloc     PARAMS ((PTR, unsigned));
35 extern void free        PARAMS ((PTR));
36 #endif
37
38 #include "fopen-same.h"