summaryrefslogtreecommitdiff
path: root/src/bios_reader
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2009-01-07 21:45:54 -0800
committerIan Romanick <ian.d.romanick@intel.com>2009-01-07 21:45:54 -0800
commit91c49067abab262edce54d33af8bfc03eee20f2e (patch)
tree6fe840906142b9a513529f07bbba65c14e2db01d /src/bios_reader
parent934008a2cbcec0c790580750c672c0367a9e4c55 (diff)
Prevent redefinitions of CARD8 and friends. Fixes build.
Diffstat (limited to 'src/bios_reader')
-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"