* Makefile.in (OPTIONAL_BACKENDS): Add lynx-core.o.
[deliverable/binutils-gdb.git] / bfd / hosts / i386v.h
... / ...
CommitLineData
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 <ctype.h>
8#include <string.h>
9#include <unistd.h>
10
11#ifndef O_ACCMODE
12#define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
13#endif
14#ifndef SEEK_SET
15#define SEEK_SET 0
16#define SEEK_CUR 1
17#endif
18
19#define USE_UTIME
20
21/* Some things that need to be defined in order to make code written for
22 BSD Unix compile under System V Unix. */
23
24/*#include <memory.h>*/
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>
30
31#ifndef DONTDECLARE_MALLOC
32extern PTR malloc PARAMS ((unsigned));
33extern PTR realloc PARAMS ((PTR, unsigned));
34extern void free PARAMS ((PTR));
35#endif
36
37#include "fopen-same.h"
38
39/* From ANSI C <stddef.h>, which we can't depend upon the existence of */
40#ifndef offsetof
41#define offsetof(type,memb) ((size_t)&(((type *)0)->memb))
42#endif
This page took 0.022464 seconds and 4 git commands to generate.