summaryrefslogtreecommitdiff
path: root/src/uxa/intel_dri.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-08-16 19:05:57 -0700
committerKeith Packard <keithp@keithp.com>2014-09-12 13:51:16 -0700
commit48f6406a62c06a09b173d82b8eb79761188ff717 (patch)
treedf2b412b5ab7860706afa4e44873a361eb912abe /src/uxa/intel_dri.c
parent8b59a88c23c4795f6d829efb91a0d40e52d20014 (diff)
Use intel_uxa.h in all uxa-specific files
Instead of always including intel_uxa.h from intel.h, and including uxa.h from some files directly, use intel_uxa.h directly from .c files that have UXA-specific code in them. Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'src/uxa/intel_dri.c')
-rw-r--r--src/uxa/intel_dri.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/uxa/intel_dri.c b/src/uxa/intel_dri.c
index 1042def8..dfe7a458 100644
--- a/src/uxa/intel_dri.c
+++ b/src/uxa/intel_dri.c
@@ -66,8 +66,10 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "dri2.h"
+#if USE_UXA
+#include "intel_uxa.h"
+#endif
#include "intel_glamor.h"
-#include "uxa.h"
typedef struct {
int refcnt;