summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichel Dänzer <daenzer@vmware.com>2009-12-29 16:41:16 +0100
committerMichel Dänzer <daenzer@vmware.com>2009-12-29 16:41:16 +0100
commit4bec18ab8dffd90ab84b986de2136a9d848d3a4a (patch)
tree6c78922381c01442dfb52bfc86ac015529de460a /src
parent74c830e61bdf700c7e422aaa5b1a0136561295dd (diff)
vmware: Fix crash with xserver >= 1.7.
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=24541 .
Diffstat (limited to 'src')
-rw-r--r--src/vmware.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/vmware.c b/src/vmware.c
index 6004677..a1575dd 100644
--- a/src/vmware.c
+++ b/src/vmware.c
@@ -146,6 +146,13 @@ static PciChipsets VMWAREPciChipsets[] = {
{ -1, -1, RES_UNDEFINED }
};
+#if HAVE_XORG_SERVER_1_7_0
+
+#define xf86LoaderReqSymLists(...) do {} while (0)
+#define LoaderRefSymLists(...) do {} while (0)
+
+#else
+
static const char *vgahwSymbols[] = {
"vgaHWGetHWRec",
"vgaHWGetIOBase",
@@ -178,6 +185,8 @@ static const char *shadowfbSymbols[] = {
NULL
};
+#endif /* HAVE_XORG_SERVER_1_7_0 */
+
#ifdef XFree86LOADER
static XF86ModuleVersionInfo vmwareVersRec = {
"vmware",