X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=dyngen-exec.h;h=db00fbae04e20eec0c9bdd84700d5eff336dd2cc;hb=3acccfc67d3aa4611142e2171337c7c494b52efb;hp=5bfef3f6fe1b7ea494e89a3c4ebfe544de26babe;hpb=a4673e276248ada38f40d39191a197e7e35d3f8b;p=qemu.git diff --git a/dyngen-exec.h b/dyngen-exec.h index 5bfef3f6f..db00fbae0 100644 --- a/dyngen-exec.h +++ b/dyngen-exec.h @@ -19,19 +19,7 @@ #if !defined(__DYNGEN_EXEC_H__) #define __DYNGEN_EXEC_H__ -/* prevent Solaris from trying to typedef FILE in gcc's - include/floatingpoint.h which will conflict with the - definition down below */ -#ifdef __sun__ -#define _FILEDEFED -#endif - -/* NOTE: standard headers should be used with special care at this - point because host CPU registers are used as global variables. Some - host headers do not allow that. */ -#include -#include -#include +#include "qemu-common.h" #ifdef __OpenBSD__ #include @@ -40,15 +28,6 @@ /* XXX: This may be wrong for 64-bit ILP32 hosts. */ typedef void * host_reg_t; -#ifdef CONFIG_BSD -typedef struct __sFILE FILE; -#else -typedef struct FILE FILE; -#endif -extern int fprintf(FILE *, const char *, ...); -extern int fputs(const char *, FILE *); -extern int printf(const char *, ...); - #if defined(__i386__) #define AREG0 "ebp" #elif defined(__x86_64__)