summaryrefslogtreecommitdiff
path: root/src/intel_uxa.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-02-11 20:54:18 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2012-02-11 21:02:22 +0000
commit87bed52180cd2abd80ef6b58384f9fd9c9968f7b (patch)
treed35094099d6d160932f5c66134ce49b557a5a55d /src/intel_uxa.c
parentc64ebee5fdccf313cbd3c73850e02e6fa7dd2a65 (diff)
Include a local copy of list.h
In 1.11.903, the list.h was renamed to xorg-list.h with a corresponding change to all structures. As we carried local fixes to list.h and extended functionality, just create our own list.h with a bit of handwaving to protect us for the brief existence of xorg/include/list.h. Reported-by: Armin K <krejzi@email.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=45938 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/intel_uxa.c')
-rw-r--r--src/intel_uxa.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/intel_uxa.c b/src/intel_uxa.c
index a11846d0..0cb8df37 100644
--- a/src/intel_uxa.c
+++ b/src/intel_uxa.c
@@ -1092,9 +1092,7 @@ intel_uxa_create_pixmap(ScreenPtr screen, int w, int h, int depth,
else
aligned_h = ALIGN(h, 2);
- list_foreach_entry(priv, struct intel_pixmap,
- &intel->in_flight,
- in_flight) {
+ list_for_each_entry(priv, &intel->in_flight, in_flight) {
if (priv->tiling != tiling)
continue;