]>
Commit | Line | Data |
---|---|---|
5e993f12 | 1 | the nbd header uses __be32 and such types but doesnt actually include the |
2 | header that defines these things (linux/types.h); so lets include it | |
3 | ||
4 | Signed-off-by: Mike Frysinger <vapier@gentoo.org> | |
5 | ||
6 | diff --git a/include/linux/nbd.h b/include/linux/nbd.h | |
7 | index e712e7d..d6b6dc0 100644 | |
8 | --- a/include/linux/nbd.h | |
9 | +++ b/include/linux/nbd.h | |
10 | @@ -15,6 +15,8 @@ | |
11 | #ifndef LINUX_NBD_H | |
12 | #define LINUX_NBD_H | |
13 | ||
14 | +#include <linux/types.h> | |
15 | + | |
16 | #define NBD_SET_SOCK _IO( 0xab, 0 ) | |
17 | #define NBD_SET_BLKSIZE _IO( 0xab, 1 ) | |
18 | #define NBD_SET_SIZE _IO( 0xab, 2 ) |