mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH]  type without #include <linux/types.h>
@ 2009-07-28  5:08 Pavel Vasilyev
  0 siblings, 0 replies; only message in thread
From: Pavel Vasilyev @ 2009-07-28  5:08 UTC (permalink / raw)
  To: linux-kernel

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@pavlinux.ru

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-07-28  5:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-28  5:08 [PATCH] type without #include <linux/types.h> Pavel Vasilyev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®