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:
pgpU8FET1uI9b.pgp
Description: PGP signature
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 <[email protected]> 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 )
- Follow-Ups:
- Re: [patch] pull in linux/types.h in linux/nbd.h
- From: Jan Engelhardt <[email protected]>
- Re: [patch] pull in linux/types.h in linux/nbd.h
- Prev by Date: Re: SPARC64 2.6.19-rc1 (git cb1055...) non-SMP build failure
- Next by Date: Re: [PATCH 00/19] Hardware Accelerated MD RAID5: Introduction
- Previous by thread: SPARC64 2.6.19-rc1 (git cb1055...) non-SMP build failure
- Next by thread: Re: [patch] pull in linux/types.h in linux/nbd.h
- Index(es):