aboutsummaryrefslogtreecommitdiff
path: root/vl.h
diff options
context:
space:
mode:
Diffstat (limited to 'vl.h')
-rw-r--r--vl.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/vl.h b/vl.h
index fb72dd55e7..244310fee1 100644
--- a/vl.h
+++ b/vl.h
@@ -51,8 +51,9 @@
#define fsync _commit
#define lseek _lseeki64
#define ENOTSUP 4096
-/* XXX: find 64 bit version */
-#define ftruncate chsize
+extern int qemu_ftruncate64(int, int64_t);
+#define ftruncate qemu_ftruncate64
+
static inline char *realpath(const char *path, char *resolved_path)
{