[PATCH RESEND] drm: include missing types header to drm_mode.h

Andrew Morton akpm at linux-foundation.org
Fri Oct 22 16:55:17 PDT 2010


On Fri, 22 Oct 2010 10:13:19 -0300
Davidlohr Bueso <dave at gnu.org> wrote:

> drm: include missing types header to drm_mode.h
> 
> Signed-off-by: Davidlohr Bueso <dave at gnu.org>
> ---
>  include/drm/drm_mode.h |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/include/drm/drm_mode.h b/include/drm/drm_mode.h
> index 0fc7397..eddd7f4 100644
> --- a/include/drm/drm_mode.h
> +++ b/include/drm/drm_mode.h
> @@ -24,6 +24,8 @@
>   * IN THE SOFTWARE.
>   */
>  
> +#include <linux/types.h>
> +
>  #ifndef _DRM_MODE_H
>  #define _DRM_MODE_H
>  

Does this fix a build error?  If so, please send along the compiler
error output.



More information about the dri-devel mailing list