Revision 7d3505c5 vl.h
b/vl.h | ||
---|---|---|
35 | 35 |
#include <errno.h> |
36 | 36 |
#include <unistd.h> |
37 | 37 |
#include <fcntl.h> |
38 |
#include <sys/stat.h> |
|
38 | 39 |
|
39 | 40 |
#ifndef O_LARGEFILE |
40 | 41 |
#define O_LARGEFILE 0 |
... | ... | |
49 | 50 |
|
50 | 51 |
#include "cpu.h" |
51 | 52 |
|
53 |
#ifdef _BSD |
|
54 |
#define lseek64 lseek |
|
55 |
#define ftruncate64 ftruncate |
|
56 |
#define mkstemp64 mkstemp |
|
57 |
#define MAP_ANONYMOUS MAP_ANON |
|
58 |
#endif |
|
59 |
|
|
52 | 60 |
#ifndef glue |
53 | 61 |
#define xglue(x, y) x ## y |
54 | 62 |
#define glue(x, y) xglue(x, y) |
Also available in: Unified diff