i915tex: Fix build against libdrm git...

This commit is contained in:
Michel Dänzer 2007-03-10 17:12:58 +01:00
parent beffb4e88c
commit 38f7f81518
2 changed files with 3 additions and 2 deletions

View file

@ -60,7 +60,8 @@ C_SOURCES = \
ASM_SOURCES =
DRIVER_DEFINES = -I../intel
DRIVER_DEFINES = -I../intel $(shell pkg-config libdrm --atleast-version=2.3.1 \
&& echo "-DDRM_VBLANK_FLIP=DRM_VBLANK_FLIP")
include ../Makefile.template

View file

@ -43,7 +43,7 @@
#include "vblank.h"
/* This block can be removed when libdrm > 2.3.0 is required */
/* This block can be removed when libdrm >= 2.3.1 is required */
#ifndef DRM_VBLANK_FLIP