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