diff -up lrmi-0.10/lrmi.c lrmi-0.10/lrmi.c --- lrmi-0.10/lrmi.c 2008-08-22 09:26:22.000000000 -0400 +++ lrmi-0.101/lrmi.c 2008-08-22 09:41:49.000000000 -0400 @@ -168,6 +168,13 @@ LRMI_free_real(void *m) } } +#ifndef TF_MASK +#define TF_MASK X86_EFLAGS_TF +#define IF_MASK X86_EFLAGS_IF +#define IOPL_MASK X86_EFLAGS_IOPL +#define VIF_MASK X86_EFLAGS_VIF +#define VIP_MASK X86_EFLAGS_VIP +#endif #define DEFAULT_VM86_FLAGS (IF_MASK | IOPL_MASK) #define DEFAULT_STACK_SIZE 0x1000