From: Mike Frysinger <vapier@gentoo.org>
To: Paul.Clements@steeleye.com
Cc: linux-kernel@vger.kernel.org
Subject: [patch] pull in linux/types.h in linux/nbd.h
Date: Sun, 8 Oct 2006 20:12:27 -0400 [thread overview]
Message-ID: <200610082012.27879.vapier@gentoo.org> (raw)
[-- 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 )
next reply other threads:[~2006-10-09 0:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-09 0:12 Mike Frysinger [this message]
2006-10-09 7:12 ` [patch] pull in linux/types.h in linux/nbd.h 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200610082012.27879.vapier@gentoo.org \
--to=vapier@gentoo.org \
--cc=Paul.Clements@steeleye.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox