aboutsummaryrefslogtreecommitdiff
path: root/bfd/hosts/lynx.h
blob: 737c9bd082cced31f6f9b0e3f3cf1c81ce24e539 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/* Architecture independant LynxOS host support for 2.2 */

#ifndef hosts_lynx_h
#define hosts_lynx_h

#include <fcntl.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>

#include <sys/conf.h>
#include <sys/kernel.h>
#include <sys/mem.h>
#include <sys/signal.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <sys/itimer.h>
#include <sys/file.h>
#include <sys/proc.h>

#define	HOST_PAGE_SIZE		NBPG
#define	HOST_TEXT_START_ADDR	USRTEXT

#define HOST_LYNX

#include "fopen-same.h"

#undef I386			/* Lynx defines this for some reason */

/* Lynx has calloc, but no cfree, and gprof uses it. */

#define cfree free

#endif /* hosts_lynx_h */