summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2009-01-07 21:45:54 -0800
committerZhenyu Wang <zhenyu.z.wang@intel.com>2009-01-13 10:20:48 +0800
commitf42015d570733aaa0eb56da5ca63d72a5b2772f7 (patch)
treeb1f80b5e44f264fce4a7ac749f90e70ce8ffe70e /src
parent4447973345a2a7af20ba1d6cb18c5f1ed8949d00 (diff)
Prevent redefinitions of CARD8 and friends. Fixes build.
(cherry picked from commit 91c49067abab262edce54d33af8bfc03eee20f2e)
Diffstat (limited to 'src')
-rw-r--r--src/bios_reader/bios_reader.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/bios_reader/bios_reader.c b/src/bios_reader/bios_reader.c
index 974c272e..717f5bfe 100644
--- a/src/bios_reader/bios_reader.c
+++ b/src/bios_reader/bios_reader.c
@@ -39,9 +39,7 @@
#include "../i830_bios.h"
#include <X11/Xfuncproto.h>
-typedef uint8_t CARD8;
-typedef uint16_t CARD16;
-typedef uint32_t CARD32;
+#include <X11/Xmd.h>
#define _PARSE_EDID_
#include "edid.h"