2009-07-28 05:08:31

by Pavel Vasilyev

[permalink] [raw]
Subject: [PATCH] type without #include <linux/types.h>

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: [email protected]