* configure.host (sparc-*-solaris2*): Use sysv4, not solaris2.
[deliverable/binutils-gdb.git] / bfd / hosts / i386v.h
CommitLineData
f751f474 1#include <ansidecl.h>
660f21b7
SC
2#include <fcntl.h>
3#include <errno.h>
4#include <stdio.h>
8215bbac 5#include <sys/types.h>
660f21b7
SC
6#include <sys/stat.h>
7#include <ctype.h>
8#include <string.h>
c5ab244b
SEF
9#include <unistd.h>
10
c5652bff 11#ifndef O_ACCMODE
660f21b7
SC
12#define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
13#endif
c5652bff 14#ifndef SEEK_SET
660f21b7
SC
15#define SEEK_SET 0
16#define SEEK_CUR 1
c5ab244b
SEF
17#endif
18
3fd7451e 19#define USE_UTIME
06d0bdef
JG
20
21/* Some things that need to be defined in order to make code written for
22 BSD Unix compile under System V Unix. */
660f21b7 23
c5ab244b 24/*#include <memory.h>*/
660f21b7
SC
25#define bcmp(b1,b2,len) memcmp(b1,b2,len)
26#define bcopy(src,dst,len) memcpy(dst,src,len)
27#define bzero(s,n) memset(s,0,n)
28
29#include <string.h>
660f21b7 30
c5652bff 31#ifndef DONTDECLARE_MALLOC
e49d5379
JG
32extern PTR malloc PARAMS ((unsigned));
33extern PTR realloc PARAMS ((PTR, unsigned));
34extern void free PARAMS ((PTR));
67099990
SC
35#endif
36
a5431adc 37#include "fopen-same.h"
This page took 0.124454 seconds and 4 git commands to generate.