Skip to contentSkip to conversation

type without #include <linux/types.h>

PATCH New Pavel Vasilyev 1 participant 1 message Jul 28, 2009 PPS support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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>

include/linux/pps.h +3 -0
index cfe5c72..bef47e2 100644
@@ -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]