Merge pull request #1374 from rafalste/fix_include
Fix missing include in 1_bio_dev.conf in configure scripts
This commit is contained in:
commit
3df37198ca
@ -12,7 +12,7 @@ check() {
|
|||||||
if compile_module $cur_name "struct bio b = {}; bio_dev(&b); b.bi_bdev = NULL;" "linux/bio.h" "linux/genhd.h"
|
if compile_module $cur_name "struct bio b = {}; bio_dev(&b); b.bi_bdev = NULL;" "linux/bio.h" "linux/genhd.h"
|
||||||
then
|
then
|
||||||
echo $cur_name "1" >> $config_file_path
|
echo $cur_name "1" >> $config_file_path
|
||||||
elif compile_module $cur_name "struct bio b = {}; bio_dev(&b); b.bi_disk = NULL;" "linux/bio.h"
|
elif compile_module $cur_name "struct bio b = {}; bio_dev(&b); b.bi_disk = NULL;" "linux/bio.h" "linux/genhd.h"
|
||||||
then
|
then
|
||||||
echo $cur_name "2" >> $config_file_path
|
echo $cur_name "2" >> $config_file_path
|
||||||
elif compile_module $cur_name "struct bio b; b.bi_bdev = NULL;" "linux/bio.h"
|
elif compile_module $cur_name "struct bio b; b.bi_bdev = NULL;" "linux/bio.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user