X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=dyngen-exec.h;h=db00fbae04e20eec0c9bdd84700d5eff336dd2cc;hb=88ca9f047bf8df20ae0a6305d99cbad1e893777f;hp=0700a2d9bb20717dba5b8093e993c61dc10cb767;hpb=60bf84cf4ce277e1212929f35674796888a681ce;p=qemu.git diff --git a/dyngen-exec.h b/dyngen-exec.h index 0700a2d9b..db00fbae0 100644 --- a/dyngen-exec.h +++ b/dyngen-exec.h @@ -19,18 +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 "qemu-common.h" #ifdef __OpenBSD__ #include @@ -39,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__)