* hosts/std-host.h: #include ansidecl.h 'cause PTR is used in
[deliverable/binutils-gdb.git] / bfd / hosts / std-host.h
1 #ifndef hosts_std_host_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 <ctype.h>
8 #include <string.h>
9 #include <sys/file.h>
10 #include "ansidecl.h"
11
12 #ifndef O_ACCMODE
13 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
14 #endif
15 #ifndef SEEK_SET
16 #define SEEK_SET 0
17 #endif
18 #ifndef SEEK_CUR
19 #define SEEK_CUR 1
20 #endif
21 #ifdef STDC_HEADERS
22 #include <stdlib.h>
23 /*#include <string.h>*/
24 #else
25 extern char *mktemp ();
26 extern PTR memset ();
27
28 #ifndef DONTDECLARE_MALLOC
29 extern PTR malloc ();
30 extern PTR realloc ();
31 #endif
32
33 #ifndef __GNUC__
34 extern PTR memcpy ();
35 #else
36 /* char * memcpy (); */
37 #endif
38
39 #ifdef __STDC__
40 extern void free ();
41 #else
42 extern int free();
43 #endif
44
45 extern char * strchr();
46 extern char *getenv();
47 extern PTR memchr();
48 extern char *strrchr();
49
50 extern char *strrchr();
51 extern char *ctime();
52 extern long atol();
53 extern char *getenv();
54 #endif /* STDC_HEADERS */
55
56 #ifndef BYTES_IN_PRINTF_INT
57 #define BYTES_IN_PRINTF_INT 4
58 #endif
59
60 #include "fopen-same.h"
61 #define hosts_std_host_H
62 #endif
63
64 #ifdef STDC_HEADERS
65 #include <stddef.h>
66 #endif /* STDC_HEADERS */
This page took 0.03425 seconds and 4 git commands to generate.