diff options
-rw-r--r-- | dyngen-exec.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dyngen-exec.h b/dyngen-exec.h index c63eb265db..69c3cd99cf 100644 --- a/dyngen-exec.h +++ b/dyngen-exec.h @@ -78,7 +78,11 @@ typedef void * host_reg_t; #define UINT32_MAX (4294967295U) #define UINT64_MAX ((uint64_t)(18446744073709551615)) +#ifdef _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 *, ...); |