[PATCH] type without #include <linux/types.h>

From: Pavel Vasilyev
Date: Tue Jul 28 2009 - 01:08:38 EST


GCC warning In latest git - 2.6.31-rc4:

include/linux/pps.h:52: found __[us]{8,16,32,64}
type without #include <linux/types.h>


diff --git a/include/linux/pps.h b/include/linux/pps.h
index cfe5c72..bef47e2 100644
--- a/include/linux/pps.h
+++ b/include/linux/pps.h
@@ -48,6 +48,9 @@
* The simple fix is probably to add an explicit padding.
* [David Woodhouse]
*/
+
+#include <linux/types.h>
+
struct pps_ktime {
__s64 sec;
__s32 nsec;

---
Signed-of: pavel@xxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/