[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20090729210646.GA8659@redhat.com>
Date:	Thu, 30 Jul 2009 00:06:46 +0300
From:	"Michael S. Tsirkin" <mst@...hat.com>
To:	giometti@...eenne.com, linux-kernel@...r.kernel.org
Subject: [PATCH] pps: include linux/types in pps.h
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@...hat.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
Powered by blists - more mailing lists
 
