]> git.proxmox.com Git - qemu.git/blobdiff - qemu-common.h
Move cpu_has_work and cpu_pc_from_tb to cpu.h
[qemu.git] / qemu-common.h
index b851b20c51d3dbca88a180211ca98ddbc6df7682..109498dd4d4ff9b3620ab7ec9817d2295013f725 100644 (file)
@@ -39,6 +39,7 @@ typedef struct Monitor Monitor;
 #include <sys/stat.h>
 #include <sys/time.h>
 #include <assert.h>
+#include <signal.h>
 
 #ifdef _WIN32
 #include "qemu-os-win32.h"
@@ -131,6 +132,11 @@ static inline char *realpath(const char *path, char *resolved_path)
 
 #endif /* !defined(NEED_CPU_H) */
 
+/* main function, renamed */
+#if defined(CONFIG_COCOA)
+int qemu_main(int argc, char **argv, char **envp);
+#endif
+
 /* bottom halves */
 typedef void QEMUBHFunc(void *opaque);