diff options
Diffstat (limited to 'src/sna/sna.h')
-rw-r--r-- | src/sna/sna.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/sna/sna.h b/src/sna/sna.h index 73e24908..575c213c 100644 --- a/src/sna/sna.h +++ b/src/sna/sna.h @@ -44,6 +44,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include <stdint.h> #include "compiler.h" + #include <xf86_OSproc.h> #include <xf86Pci.h> #include <xf86Cursor.h> @@ -109,15 +110,11 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #define TEST_RENDER (TEST_ALL || 0) #include "intel_driver.h" +#include "intel_list.h" #include "kgem.h" #include "sna_damage.h" #include "sna_render.h" -static inline void list_add_tail(struct list *new, struct list *head) -{ - __list_add(new, head->prev, head); -} - #ifndef CREATE_PIXMAP_USAGE_SCRATCH_HEADER #define FAKE_CREATE_PIXMAP_USAGE_SCRATCH_HEADER 1 #define CREATE_PIXMAP_USAGE_SCRATCH_HEADER (unsigned)-1 |