diff options
-rw-r--r-- | src/radeon.h | 1 | ||||
-rw-r--r-- | src/radeon_exa.c | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/radeon.h b/src/radeon.h index 46ea694..c820d9e 100644 --- a/src/radeon.h +++ b/src/radeon.h @@ -39,6 +39,7 @@ #define _RADEON_H_ #include "xf86str.h" +#include "compiler.h" /* PCI support */ #include "xf86Pci.h" diff --git a/src/radeon_exa.c b/src/radeon_exa.c index 10949cf..e5a9f21 100644 --- a/src/radeon_exa.c +++ b/src/radeon_exa.c @@ -35,11 +35,15 @@ #include "radeon.h" #include "radeon_reg.h" +#ifdef XF86DRI #include "radeon_dri.h" +#endif #include "radeon_macros.h" #include "radeon_probe.h" #include "radeon_version.h" +#ifdef XF86DRI #include "radeon_sarea.h" +#endif #include "xf86.h" |