Module Name:    xsrc
Committed By:   jmcneill
Date:           Fri Nov  6 01:13:50 UTC 2015

Modified Files:
        xsrc/external/mit/xf86-video-modesetting/dist/src: driver.c

Log Message:
fix build when XSERVER_PLATFORM_BUS is not defined


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
    xsrc/external/mit/xf86-video-modesetting/dist/src/driver.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/xf86-video-modesetting/dist/src/driver.c
diff -u xsrc/external/mit/xf86-video-modesetting/dist/src/driver.c:1.1.1.1 xsrc/external/mit/xf86-video-modesetting/dist/src/driver.c:1.2
--- xsrc/external/mit/xf86-video-modesetting/dist/src/driver.c:1.1.1.1	Fri Nov  6 01:11:36 2015
+++ xsrc/external/mit/xf86-video-modesetting/dist/src/driver.c	Fri Nov  6 01:13:50 2015
@@ -93,6 +93,10 @@ static const struct pci_id_match ms_devi
 };
 #endif
 
+#ifndef XSERVER_PLATFORM_BUS
+struct xf86_platform_device;
+#endif
+
 #ifdef XSERVER_PLATFORM_BUS
 static Bool ms_platform_probe(DriverPtr driver,
                           int entity_num, int flags, struct xf86_platform_device *device,

Reply via email to