summaryrefslogtreecommitdiffstats
path: root/include/linux/nbd.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-10-11 01:22:11 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-11 11:14:24 -0700
commitc751c1dbb1289d220a8a175ba0df47706ce95a7e (patch)
tree91072068ae634924575e01533367039e20e41e63 /include/linux/nbd.h
parent32e794015aa698fd6bf1ec21b713f900a707fb15 (diff)
downloadop-kernel-dev-c751c1dbb1289d220a8a175ba0df47706ce95a7e.zip
op-kernel-dev-c751c1dbb1289d220a8a175ba0df47706ce95a7e.tar.gz
[PATCH] include linux/types.h in linux/nbd.h
The nbd header uses __be32 and such types but doesn't actually include the header that defines these things (linux/types.h); so let's include it. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/nbd.h')
-rw-r--r--include/linux/nbd.h2
1 files changed, 2 insertions, 0 deletions
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 )
OpenPOWER on IntegriCloud