浏览代码

[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>
Mike Frysinger 19 年之前
父节点
当前提交
c751c1dbb1
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      include/linux/nbd.h

+ 2 - 0
include/linux/nbd.h

@@ -15,6 +15,8 @@
 #ifndef LINUX_NBD_H
 #ifndef LINUX_NBD_H
 #define LINUX_NBD_H
 #define LINUX_NBD_H
 
 
+#include <linux/types.h>
+
 #define NBD_SET_SOCK	_IO( 0xab, 0 )
 #define NBD_SET_SOCK	_IO( 0xab, 0 )
 #define NBD_SET_BLKSIZE	_IO( 0xab, 1 )
 #define NBD_SET_BLKSIZE	_IO( 0xab, 1 )
 #define NBD_SET_SIZE	_IO( 0xab, 2 )
 #define NBD_SET_SIZE	_IO( 0xab, 2 )