[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-xorg
Subject: [PATCH] xf86-video-intel/modesetting: Missing #include in
From: "Joshua J. Berry" <des () condordes ! net>
Date: 2006-12-11 16:35:31
Message-ID: 200612110835.39717.des () condordes ! net
[Download RAW message or body]
Head fde52de870c84821ab457e17634c334a10cf71ab of the modesetting branch
fails to compile with the following error:
-----
make[3]: Entering directory `/home/des/Code/xorg/xf86-video-intel/src'
...
i830_xf86Crtc.c: In function 'xf86DefaultMode':
i830_xf86Crtc.c:146: error: 'M_T_PREFERRED' undeclared (first use in this
function)
i830_xf86Crtc.c:146: error: (Each undeclared identifier is reported only
once
i830_xf86Crtc.c:146: error: for each function it appears in.)
i830_xf86Crtc.c: In function 'xf86OutputHasPreferredMode':
i830_xf86Crtc.c:200: error: 'M_T_PREFERRED' undeclared (first use in this
function)
-----
I have no idea if this is correct or not, but the following patch seems to
fix compiling for me:
diff --git a/src/i830_xf86Crtc.c b/src/i830_xf86Crtc.c
index 3a592e5..448d4f9 100644
--- a/src/i830_xf86Crtc.c
+++ b/src/i830_xf86Crtc.c
@@ -32,6 +32,7 @@
#include "xf86.h"
#include "xf86DDC.h"
+#include "i830.h"
#include "i830_xf86Crtc.h"
#include "X11/extensions/render.h"
Please apply (or apply the right fix, anyway ;) ). Thanks.
-- Josh
--
Joshua J. Berry
"I haven't lost my mind -- it's backed up on tape somewhere."
-- /usr/games/fortune
[Attachment #3 (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic