]> git.proxmox.com Git - mirror_qemu.git/blobdiff - bsd-user/mmap.c
qdev: add qdev_add_vm_change_state_handler()
[mirror_qemu.git] / bsd-user / mmap.c
index 7f2018ede04002bceafb0906af06e25589ddeeb7..17f4cd80aa16b60cde8aaaf76a72531eef429fff 100644 (file)
 #include "qemu.h"
 #include "qemu-common.h"
 #include "bsd-mman.h"
+#include "exec/exec-all.h"
 
 //#define DEBUG_MMAP
 
 static pthread_mutex_t mmap_mutex = PTHREAD_MUTEX_INITIALIZER;
-static int __thread mmap_lock_count;
+static __thread int mmap_lock_count;
 
 void mmap_lock(void)
 {