[PATCH] virtio_9p.h: include linux/types.h

From: Randy Dunlap
Date: Fri Apr 30 2010 - 15:05:23 EST


From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

Add <linux/types.h> to <linux/virtio_9p.h> so that types are explicitly
defined:
linux/virtio_9p.h:15: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
Cc: Eric Van Hensbergen <ericvh@xxxxxxxxx>
---
include/linux/virtio_9p.h | 1 +
1 file changed, 1 insertion(+)

--- lnx-2634-rc5.orig/include/linux/virtio_9p.h
+++ lnx-2634-rc5/include/linux/virtio_9p.h
@@ -2,6 +2,7 @@
#define _LINUX_VIRTIO_9P_H
/* This header is BSD licensed so anyone can use the definitions to implement
* compatible drivers/servers. */
+#include <linux/types.h>
#include <linux/virtio_ids.h>
#include <linux/virtio_config.h>

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