Skip to content

Commit

Permalink
drm/i810_drm.h: include drm/drm.h
Browse files Browse the repository at this point in the history
Fixes userspace compilation error:

error: array type has incomplete element type
struct drm_clip_rect boxes[I810_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 0aa4a4b commit 70d9947
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/uapi/drm/i810_drm.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#ifndef _I810_DRM_H_
#define _I810_DRM_H_

#include <drm/drm.h>

/* WARNING: These defines must be the same as what the Xserver uses.
* if you change them, you must change the defines in the Xserver.
*/
Expand Down

0 comments on commit 70d9947

Please sign in to comment.