diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-05-12 19:32:15 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-05-12 19:32:15 +0000 |
commit | 7d3505c55aae54c9610e8be1ff476ec8849c98e6 (patch) | |
tree | 8e8b024b2e8b547dc48d8024fe5b3001a7c46c0d /vl.h | |
parent | fd872598d8d8cf78c1f12ed9661baf9ac0943c04 (diff) |
bsd port (Markus Niemisto)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@800 c046a42c-6fe2-441c-8c8c-71466251a162
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) |