On Mon, Aug 8, 2011 at 3:22 AM, Amerigo Wang<amwang@xxxxxxxxxx> wrote:This patch fixes the following 'make headers_check' errors:
linux-2.6/usr/include/drm/drm_mode.h:85: found __[us]{8,16,32,64} type without #include<linux/types.h>
linux-2.6/usr/include/drm/i915_drm.h:120: found __[us]{8,16,32,64} type without #include<linux/types.h>
linux-2.6/usr/include/drm/mga_drm.h:260: found __[us]{8,16,32,64} type without #include<linux/types.h>
linux-2.6/usr/include/drm/radeon_drm.h:758: found __[us]{8,16,32,64} type without #include<linux/types.h>
linux-2.6/usr/include/drm/via_drm.h:117: found __[us]{8,16,32,64} type without #include<linux/types.h>
These files are shared with BSD, and they get the linux/types.h from drm.h.