mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-02 00:56:27 +00:00
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.
18 lines
341 B
C
18 lines
341 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>
|
|
#include <stdlib.h> /* for malloc() */
|
|
|
|
#ifndef O_ACCMODE
|
|
#define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
|
|
#endif
|
|
#define SEEK_SET 0
|
|
#define SEEK_CUR 1
|
|
|
|
#include "fopen-same.h"
|