Skip to content

Commit

Permalink
r128_drm.h: include drm/drm.h
Browse files Browse the repository at this point in the history
Fixes compile error:

drm/r128_drm.h:156:23: error: array type has incomplete element type
  struct drm_clip_rect boxes[R128_NR_SAREA_CLIPRECTS];

Signed-off-by: Mikko Rapeli <mikko.rapeli@iki.fi>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
  • Loading branch information
Mikko Rapeli authored and Daniel Vetter committed Oct 16, 2015
1 parent 22375f3 commit 0aa4a4b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/uapi/drm/r128_drm.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
#ifndef __R128_DRM_H__
#define __R128_DRM_H__

#include <drm/drm.h>

/* WARNING: If you change any of these defines, make sure to change the
* defines in the X server file (r128_sarea.h)
*/
Expand Down

0 comments on commit 0aa4a4b

Please sign in to comment.