diff options
author | Alan Coopersmith <Alan.Coopersmith@sun.com> | 2005-09-20 16:53:34 +0000 |
---|---|---|
committer | Alan Coopersmith <Alan.Coopersmith@sun.com> | 2005-09-20 16:53:34 +0000 |
commit | 65b5f0017e29903565aff0b7527d955ed016c9a6 (patch) | |
tree | 96a00e7bc4ebeb20399a2436c9140b3fe837e209 /src/radeon_exa.c | |
parent | 0b7441b19a1a5df91aca6b1a02944afb636bc523 (diff) |
Only include radeon_dri.h & radeon_sarea.h if XF86DRI is defined.
Include "compiler.h" to define __inline__ on non-gcc compilers
Diffstat (limited to 'src/radeon_exa.c')
-rw-r--r-- | src/radeon_exa.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/radeon_exa.c b/src/radeon_exa.c index 10949cf2..e5a9f210 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" |