diff options
Diffstat (limited to 'src/radeon_probe.h')
-rw-r--r-- | src/radeon_probe.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/radeon_probe.h b/src/radeon_probe.h index 4f5e6450..95001895 100644 --- a/src/radeon_probe.h +++ b/src/radeon_probe.h @@ -37,12 +37,16 @@ #define _RADEON_PROBE_H_ 1 #include <stdint.h> +#include "xorg-server.h" #include "xf86str.h" #include "xf86DDC.h" #include "randrstr.h" #include "xf86Crtc.h" + +#ifdef XSERVER_PLATFORM_BUS #include "xf86platformBus.h" +#endif #include "compat-api.h" #include "exa.h" @@ -137,7 +141,9 @@ typedef struct int fd_ref; unsigned long fd_wakeup_registered; /* server generation for which fd has been registered for wakeup handling */ int fd_wakeup_ref; +#ifdef XSERVER_PLATFORM_BUS struct xf86_platform_device *platform_dev; +#endif } RADEONEntRec, *RADEONEntPtr; extern const OptionInfoRec *RADEONOptionsWeak(void); |