aboutsummaryrefslogtreecommitdiff
path: root/bfd/hosts/rtbsd.h
blob: 957065f6309d13e12f5132a1be2756c744fdfa19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include <fcntl.h>
#include <errno.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <ctype.h>
#include <string.h>
#include <sys/file.h>

#ifndef	O_ACCMODE
#define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
#endif

#define SEEK_SET        0
#define SEEK_CUR        1

extern char     *malloc();
extern void     free();

#include "fopen-same.h"