diff mbox

[libdrm] libdrm: Fix drm.h include in qxl drm header file

Message ID 1399326879-3774-1-git-send-email-andreas.boll.dev@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Andreas Boll May 5, 2014, 9:54 p.m. UTC
Use "drm.h" instead of "drm/drm.h" as used in the other header files.
Fixes xserver-xorg-video-qxl build with KMS support on Debian, where this
file is installed in /usr/include/libdrm.

Fixes Debian bug #746807

Reported-by: Bastian Blank <waldi@debian.org>
Signed-off-by: Andreas Boll <andreas.boll.dev@gmail.com>
---
 include/drm/qxl_drm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Andreas Boll July 28, 2014, 2:35 p.m. UTC | #1
ping

2014-05-05 23:54 GMT+02:00 Andreas Boll <andreas.boll.dev@gmail.com>:
> Use "drm.h" instead of "drm/drm.h" as used in the other header files.
> Fixes xserver-xorg-video-qxl build with KMS support on Debian, where this
> file is installed in /usr/include/libdrm.
>
> Fixes Debian bug #746807
>
> Reported-by: Bastian Blank <waldi@debian.org>
> Signed-off-by: Andreas Boll <andreas.boll.dev@gmail.com>
> ---
>  include/drm/qxl_drm.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/drm/qxl_drm.h b/include/drm/qxl_drm.h
> index 5d7de70..1e331a8 100644
> --- a/include/drm/qxl_drm.h
> +++ b/include/drm/qxl_drm.h
> @@ -25,7 +25,7 @@
>  #define QXL_DRM_H
>
>  #include <stddef.h>
> -#include "drm/drm.h"
> +#include "drm.h"
>
>  /* Please note that modifications to all structs defined here are
>   * subject to backwards-compatibility constraints.
> --
> 1.9.2
>
Emil Velikov July 28, 2014, 3:06 p.m. UTC | #2
On 28/07/14 15:35, Andreas Boll wrote:
> ping
> 
> 2014-05-05 23:54 GMT+02:00 Andreas Boll <andreas.boll.dev@gmail.com>:
>> Use "drm.h" instead of "drm/drm.h" as used in the other header files.
>> Fixes xserver-xorg-video-qxl build with KMS support on Debian, where this
>> file is installed in /usr/include/libdrm.
>>
I believe that's the default location for most linux distributions. Seems like
not many of us build the qxl ddx :\

FWIW
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>

>> Fixes Debian bug #746807
>>
>> Reported-by: Bastian Blank <waldi@debian.org>
>> Signed-off-by: Andreas Boll <andreas.boll.dev@gmail.com>
>> ---
>>  include/drm/qxl_drm.h | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/include/drm/qxl_drm.h b/include/drm/qxl_drm.h
>> index 5d7de70..1e331a8 100644
>> --- a/include/drm/qxl_drm.h
>> +++ b/include/drm/qxl_drm.h
>> @@ -25,7 +25,7 @@
>>  #define QXL_DRM_H
>>
>>  #include <stddef.h>
>> -#include "drm/drm.h"
>> +#include "drm.h"
>>
>>  /* Please note that modifications to all structs defined here are
>>   * subject to backwards-compatibility constraints.
>> --
>> 1.9.2
>>
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
>
Andreas Boll July 28, 2014, 3:37 p.m. UTC | #3
2014-07-28 17:06 GMT+02:00 Emil Velikov <emil.l.velikov@gmail.com>:
> On 28/07/14 15:35, Andreas Boll wrote:
>> ping
>>
>> 2014-05-05 23:54 GMT+02:00 Andreas Boll <andreas.boll.dev@gmail.com>:
>>> Use "drm.h" instead of "drm/drm.h" as used in the other header files.
>>> Fixes xserver-xorg-video-qxl build with KMS support on Debian, where this
>>> file is installed in /usr/include/libdrm.
>>>
> I believe that's the default location for most linux distributions. Seems like
> not many of us build the qxl ddx :\
>
> FWIW
> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
>

Thanks!
Pushed.

>>> Fixes Debian bug #746807
>>>
>>> Reported-by: Bastian Blank <waldi@debian.org>
>>> Signed-off-by: Andreas Boll <andreas.boll.dev@gmail.com>
>>> ---
>>>  include/drm/qxl_drm.h | 2 +-
>>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/include/drm/qxl_drm.h b/include/drm/qxl_drm.h
>>> index 5d7de70..1e331a8 100644
>>> --- a/include/drm/qxl_drm.h
>>> +++ b/include/drm/qxl_drm.h
>>> @@ -25,7 +25,7 @@
>>>  #define QXL_DRM_H
>>>
>>>  #include <stddef.h>
>>> -#include "drm/drm.h"
>>> +#include "drm.h"
>>>
>>>  /* Please note that modifications to all structs defined here are
>>>   * subject to backwards-compatibility constraints.
>>> --
>>> 1.9.2
>>>
>> _______________________________________________
>> dri-devel mailing list
>> dri-devel@lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/dri-devel
>>
>
diff mbox

Patch

diff --git a/include/drm/qxl_drm.h b/include/drm/qxl_drm.h
index 5d7de70..1e331a8 100644
--- a/include/drm/qxl_drm.h
+++ b/include/drm/qxl_drm.h
@@ -25,7 +25,7 @@ 
 #define QXL_DRM_H
 
 #include <stddef.h>
-#include "drm/drm.h"
+#include "drm.h"
 
 /* Please note that modifications to all structs defined here are
  * subject to backwards-compatibility constraints.