From: Alan Coopersmith <alan.coopersmith@oracle.com>
To: Prarit Bhargava <prarit@redhat.com>
Cc: dri-devel@lists.freedesktop.org
Subject: Re: [PATCH]: i915: Fix missing linux/types.h warning in header
Date: Thu, 27 May 2010 08:29:14 -0700 [thread overview]
Message-ID: <4BFE8FCA.5020700@oracle.com> (raw)
In-Reply-To: <20100527151952.22661.61352.sendpatchset@prarit.bos.redhat.com>
Prarit Bhargava wrote:
> Fixes warning:
>
> /usr/include/drm/i915_drm.h:119: found __[us]{8,16,32,64} type without #include <linux/types.h>
>
> Signed-off-by: Prarit Bhargava <prarit@redhat.com>
>
> 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 <linux/types.h>
> #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
next prev parent reply other threads:[~2010-05-27 15:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-27 15:23 [PATCH]: i915: Fix missing linux/types.h warning in header Prarit Bhargava
2010-05-27 15:29 ` Alan Coopersmith [this message]
2010-05-27 15:39 ` Prarit Bhargava
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4BFE8FCA.5020700@oracle.com \
--to=alan.coopersmith@oracle.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=prarit@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.