933ae8d4fd
variants from the BFD universe. Leave the 64-bit types for now, since they are in flux. * hosts/*.h: Remove declarations of all these types.
21 lines
346 B
C
21 lines
346 B
C
#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>
|
|
|
|
#define SEEK_SET 0
|
|
#define SEEK_CUR 1
|
|
|
|
#ifndef O_ACCMODE
|
|
#define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
|
|
#endif
|
|
|
|
extern char *malloc();
|
|
extern void free();
|
|
|
|
#include "fopen-same.h"
|