diff options
Diffstat (limited to 'vl.h')
-rw-r--r-- | vl.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -35,6 +35,7 @@ #include <errno.h> #include <unistd.h> #include <fcntl.h> +#include <sys/stat.h> #ifndef O_LARGEFILE #define O_LARGEFILE 0 @@ -49,6 +50,13 @@ #include "cpu.h" +#ifdef _BSD +#define lseek64 lseek +#define ftruncate64 ftruncate +#define mkstemp64 mkstemp +#define MAP_ANONYMOUS MAP_ANON +#endif + #ifndef glue #define xglue(x, y) x ## y #define glue(x, y) xglue(x, y) |