From: "Michael S. Tsirkin" <mst@redhat.com>
To: giometti@enneenne.com, linux-kernel@vger.kernel.org
Subject: [PATCH] pps: include linux/types in pps.h
Date: Thu, 30 Jul 2009 00:06:46 +0300 [thread overview]
Message-ID: <20090729210646.GA8659@redhat.com> (raw)
linux/pps.h should include linux/types.h before
using types like __u8, so that this header works independently
of include order.
make headers_check complains about this:
include/linux/pps.h:52: found __[us]{8,16,32,64} type
without #include <linux/types.h>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
include/linux/pps.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/linux/pps.h b/include/linux/pps.h
index cfe5c72..0194ab0 100644
--- a/include/linux/pps.h
+++ b/include/linux/pps.h
@@ -22,6 +22,8 @@
#ifndef _PPS_H_
#define _PPS_H_
+#include <linux/types.h>
+
#define PPS_VERSION "5.3.6"
#define PPS_MAX_SOURCES 16 /* should be enough... */
--
1.6.2.5
reply other threads:[~2009-07-29 21:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20090729210646.GA8659@redhat.com \
--to=mst@redhat.com \
--cc=giometti@enneenne.com \
--cc=linux-kernel@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox