[Mesa-dev] [PATCH mesa] gbm: add a couple missing includes

Edward O'Callaghan funfunctor at folklore1984.net
Mon Oct 17 10:40:56 UTC 2016


Reviewed-by: Edward O'Callaghan <funfunctor at folklore1984.net>

On 10/17/2016 09:39 PM, Eric Engestrom wrote:
> Needed for memset() and drmIoctl().
> 
> Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
> ---
>  src/gbm/backends/dri/gbm_driint.h | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/src/gbm/backends/dri/gbm_driint.h b/src/gbm/backends/dri/gbm_driint.h
> index 1644fac..26376ef 100644
> --- a/src/gbm/backends/dri/gbm_driint.h
> +++ b/src/gbm/backends/dri/gbm_driint.h
> @@ -28,6 +28,8 @@
>  #ifndef _GBM_DRI_INTERNAL_H_
>  #define _GBM_DRI_INTERNAL_H_
>  
> +#include <xf86drm.h>
> +#include <string.h>
>  #include <sys/mman.h>
>  #include "gbmint.h"
>  #include "c11/threads.h"
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20161017/1673929b/attachment-0001.sig>


More information about the mesa-dev mailing list