use bswap.h
[qemu] / vlmkcow.c
index 80d9a08..2cc6332 100644 (file)
--- a/vlmkcow.c
+++ b/vlmkcow.c
 #include <sys/poll.h>
 #include <errno.h>
 #include <sys/wait.h>
+#include <sys/stat.h>
 #include <netinet/in.h>
 
 #include "vl.h"
 
-#define NO_THUNK_TYPE_SIZE
-#include "thunk.h"
+#include "bswap.h"
 
 int cow_create(int cow_fd, const char *image_filename, 
                int64_t image_sectors)