public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] pull in linux/types.h in linux/nbd.h
@ 2006-10-09  0:12 Mike Frysinger
  2006-10-09  7:12 ` Jan Engelhardt
  0 siblings, 1 reply; 4+ messages in thread
From: Mike Frysinger @ 2006-10-09  0:12 UTC (permalink / raw)
  To: Paul.Clements; +Cc: linux-kernel


[-- Attachment #1.1: Type: text/plain, Size: 153 bytes --]

the nbd header uses __be32 and such types but doesnt actually include the 
header that defines these things (linux/types.h); so lets include it
-mike

[-- Attachment #1.2: Type: application/pgp-signature, Size: 827 bytes --]

[-- Attachment #2: nbd-needs-linux-types.patch --]
[-- Type: text/x-diff, Size: 536 bytes --]

the nbd header uses __be32 and such types but doesnt actually include the
header that defines these things (linux/types.h); so lets include it

Signed-off-by: Mike Frysinger <vapier@gentoo.org>

diff --git a/include/linux/nbd.h b/include/linux/nbd.h
index e712e7d..d6b6dc0 100644
--- a/include/linux/nbd.h
+++ b/include/linux/nbd.h
@@ -15,6 +15,8 @@
 #ifndef LINUX_NBD_H
 #define LINUX_NBD_H
 
+#include <linux/types.h>
+
 #define NBD_SET_SOCK	_IO( 0xab, 0 )
 #define NBD_SET_BLKSIZE	_IO( 0xab, 1 )
 #define NBD_SET_SIZE	_IO( 0xab, 2 )

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-10-18 19:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-09  0:12 [patch] pull in linux/types.h in linux/nbd.h Mike Frysinger
2006-10-09  7:12 ` Jan Engelhardt
2006-10-09 16:23   ` Mike Frysinger
2006-10-18 19:10     ` [PATCH] pull in necessary header files for cdev.h Jan Engelhardt

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