Jelajahi Sumber

drm/i810_drm.h: include drm/drm.h

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>
Mikko Rapeli 10 tahun lalu
induk
melakukan
70d994704e
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  1. 2 0
      include/uapi/drm/i810_drm.h

+ 2 - 0
include/uapi/drm/i810_drm.h

@@ -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.
  */