d575cae624410dbd066fc69d0470ea2be0c48f16
[openwrt/svn-archive/archive.git] / Xorg / xorg / xserver / xorg-server / patches / 003-vm86-IFMASK.patch
1 --- xorg-server-1.5.1.orig/hw/kdrive/vesa/vm86.h 2008-09-09 17:24:59.000000000 +0200
2 +++ xorg-server-1.5.1/hw/kdrive/vesa/vm86.h 2008-09-09 18:01:53.000000000 +0200
3 @@ -67,6 +67,13 @@
4 #include "os.h"
5 #endif
6
7 +#ifndef IF_MASK
8 +#define IF_MASK X86_EFLAGS_IF
9 +#endif
10 +#ifndef IOPL_MASK
11 +#define IOPL_MASK X86_EFLAGS_IOPL
12 +#endif
13 +
14 typedef unsigned char U8;
15 typedef unsigned short U16;
16 typedef unsigned int U32;