From: Trevor Woerner <[email protected]>
Signed-off-by: Trevor Woerner <[email protected]>
---
gcc version 4.5.0 20100604 [gcc-4_5-branch revision 160292] (SUSE Linux)
Before this fix my build log was filled with the following:
$prefix/include/xorg/edid.h:623:4: warning: declaration does not declare
anything
Deleting the entire directory tree at $prefix then performing a full build
with this change does not produce any errors.
hw/xfree86/ddc/edid.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/xfree86/ddc/edid.h b/hw/xfree86/ddc/edid.h
index cc4bd02..d386cf6 100644
--- a/hw/xfree86/ddc/edid.h
+++ b/hw/xfree86/ddc/edid.h
@@ -620,7 +620,7 @@ struct cea_vendor_block {
union {
struct cea_vendor_block_hdmi hdmi;
/* any other vendor blocks we know about */
- };
+ }u;
};
struct cea_speaker_block
--
1.7.1
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel