From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Coopersmith Subject: Re: [PATCH]: i915: Fix missing linux/types.h warning in header Date: Thu, 27 May 2010 08:29:14 -0700 Message-ID: <4BFE8FCA.5020700@oracle.com> References: <20100527151952.22661.61352.sendpatchset@prarit.bos.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from brmea-mail-2.sun.com (brmea-mail-2.Sun.COM [192.18.98.43]) by gabe.freedesktop.org (Postfix) with ESMTP id B6C029ED9F for ; Thu, 27 May 2010 08:29:26 -0700 (PDT) In-Reply-To: <20100527151952.22661.61352.sendpatchset@prarit.bos.redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: Prarit Bhargava Cc: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org Prarit Bhargava wrote: > Fixes warning: > > /usr/include/drm/i915_drm.h:119: found __[us]{8,16,32,64} type without #include > > Signed-off-by: Prarit Bhargava > > diff --git a/include/drm/i915_drm.h b/include/drm/i915_drm.h > index b64a8d7..5cf7f5b 100644 > --- a/include/drm/i915_drm.h > +++ b/include/drm/i915_drm.h > @@ -27,6 +27,7 @@ > #ifndef _I915_DRM_H_ > #define _I915_DRM_H_ > > +#include > #include "drm.h" drm.h includes it, safely tucked inside #ifdef __linux__ so it won't break BSD & OpenSolaris DRI builds - isn't that good enough? -- -Alan Coopersmith- alan.coopersmith@oracle.com Oracle Solaris Platform Engineering: X Window System