[PATCH xf86-video-mga 9/9] include xf86Modes.h for xf86ModeBandwidth()
Nicolas Kaiser
nikai at nikai.net
Wed Jun 8 02:06:14 PDT 2011
Fixes compile warning
"src/mga_driver.c: In function 'MGAValidMode':
src/mga_driver.c:4340: warning: implicit declaration of function
'xf86ModeBandwidth'"
Additionally silences Gentoo QA warning
* QA Notice: Package has poor programming practices which may compile
* fine but exhibit random runtime failures.
Signed-off-by: Nicolas Kaiser <nikai at nikai.net>
---
src/mga_driver.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/mga_driver.c b/src/mga_driver.c
index e5fdec2..a0252e3 100644
--- a/src/mga_driver.c
+++ b/src/mga_driver.c
@@ -78,6 +78,7 @@
#include "micmap.h"
#include "xf86DDC.h"
+#include "xf86Modes.h"
#include "vbe.h"
--
1.7.5.3
More information about the xorg-devel
mailing list