[PATCH 02/17] ephyr: Expose a single function for detecting extensions.

Eric Anholt eric at anholt.net
Tue Sep 3 10:54:29 PDT 2013


Julien Cristau <jcristau at debian.org> writes:

> On Mon, Aug 26, 2013 at 13:26:08 -0700, Eric Anholt wrote:
>
>> Signed-off-by: Eric Anholt <eric at anholt.net>
>> ---
>>  hw/kdrive/ephyr/ephyr.c       | 15 ++++++++++++++-
>>  hw/kdrive/ephyr/ephyrdriext.c |  7 +++++--
>>  hw/kdrive/ephyr/ephyrglxext.c |  3 ++-
>>  hw/kdrive/ephyr/hostx.c       | 29 -----------------------------
>>  hw/kdrive/ephyr/hostx.h       |  3 ++-
>>  5 files changed, 23 insertions(+), 34 deletions(-)
>> 
>> diff --git a/hw/kdrive/ephyr/ephyr.c b/hw/kdrive/ephyr/ephyr.c
>> index b34b5cc..cd2cae1 100644
>> --- a/hw/kdrive/ephyr/ephyr.c
>> +++ b/hw/kdrive/ephyr/ephyr.c
>> @@ -26,6 +26,9 @@
>>  #ifdef HAVE_CONFIG_H
>>  #include <kdrive-config.h>
>>  #endif
>> +
>> +#include <xcb/xf86dri.h>
>> +
>
> Maybe #ifdef XF86DRI around this one?

I moved it down into the #ifdef block below.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20130903/f14caa08/attachment.pgp>


More information about the xorg-devel mailing list