Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1--- libx86/lrmi.c 2008-09-06 12:24:36.070136428 +0200 2+++ libx86/lrmi.c 2008-09-06 12:28:10.584287458 +0200 3@@ -56,5 +56,17 @@ 4 5 #if defined(__linux__) 6+#ifndef TF_MASK 7+#define TF_MASK X86_EFLAGS_TF 8+#endif 9+#ifndef IF_MASK 10+#define IF_MASK X86_EFLAGS_IF 11+#endif 12+#ifndef IOPL_MASK 13+#define IOPL_MASK X86_EFLAGS_IOPL 14+#endif 15+#ifndef VIF_MASK 16+#define VIF_MASK X86_EFLAGS_VIF 17+#endif 18 #define DEFAULT_VM86_FLAGS (IF_MASK | IOPL_MASK) 19 #elif defined(__NetBSD__) || defined(__FreeBSD__) 20 #define DEFAULT_VM86_FLAGS (PSL_I | PSL_IOPL)